Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
framer-motion-ticker
Advanced tools
A simple ticker made with framer-motion
. Infinitely and seamlessly scroll through elements.
npm install framer-motion-ticker
import React from 'react';
import Ticker from 'framer-motion-ticker';
function App() {
const colors = ['#632bf3', '#f122c8', '#f16022', '#9ef344', '#44d3f3'];
return (
<div className="App">
<Ticker duration={20}>
{colors.map((item, index) => (
<div
key={index}
style={{
backgroundColor: item,
margin: '5px',
height: '250px',
width: '200px',
}}
/>
))}
</Ticker>
</div>
);
}
export default App;
props | type | default | description |
---|---|---|---|
duration | number | 10 | duration of one segment |
cd example && npm install
npm run dev
FAQs
A React component that acts like a ticker, or marquee.
The npm package framer-motion-ticker receives a total of 745 weekly downloads. As such, framer-motion-ticker popularity was classified as not popular.
We found that framer-motion-ticker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.