Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
simple-marquee
Advanced tools
marquee component for react by requestAnimationFrame
npm i simple-marquee
OR
yarn add simple-marquee
import Marquee from 'simple-marquee';
const {
MarqueeGroup
} = Marquee;
OR
import Marquee, {
MarqueeGroup
} from 'simple-marquee';
<Marquee className={styles.marquee_group}
direction={'horizontal'}
stop={!(stopMarquee.stop && stopMarquee.index === -1)}>
2020年结束了,2021年开始了,为新的一年,加油 !!!!⛽️
</Marquee>
<MarqueeGroup stop={!(stopMarquee.stop && stopMarquee.index === 1)}>
<Marquee
style={{
marginBottom: '12px'
}}
speed={1.8}
indent={10}
direction={'horizontal'}>
<List style={{
backgroundColor: `#${color}`
}}>枯藤老树昏鸦</List>
<List style={{
backgroundColor: `#${color}`
}}>小桥流水人家</List>
<List style={{
backgroundColor: `#${color}`
}}>古道西风瘦马</List>
</Marquee>
<Marquee
style={{
marginBottom: '12px'
}}
direction={'horizontal-reverse'}
indent={25}
speed={1.2}>
<List style={{
backgroundColor: `#${color}`
}}>夕阳西下</List>
<List style={{
backgroundColor: `#${color}`
}}>断肠人在天涯</List>
<List style={{
backgroundColor: `#${color}`
}}>离离原上草</List>
<List style={{
backgroundColor: `#${color}`
}}>一岁一枯荣</List>
</Marquee>
<Marquee
direction={'horizontal'}
indent={55}
speed={1.4}>
<List style={{
backgroundColor: `#${color}`
}}>一岁一枯荣</List>
<List style={{
backgroundColor: `#${color}`
}}>野火烧不尽</List>
<List style={{
backgroundColor: `#${color}`
}}>春风吹又生</List>
</Marquee>
</MarqueeGroup>
stop
【boolean】 Control animation group statespeed
【number】 animation speed default
1indent
【number】 animation content indent default
0direction
animation direction default
horizontal
stop
【boolean】 Control animation statepauseOnHover
【boolean】 Control animation state when mouseover default
falseFAQs
marquee components for react
The npm package simple-marquee receives a total of 30 weekly downloads. As such, simple-marquee popularity was classified as not popular.
We found that simple-marquee demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.