
Research
Security News
Malicious npm Package Wipes Codebases with Remote Trigger
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
bear-react-carousel
Advanced tools
Most modern mobile touch slider with hardware accelerated transitions for ReactJS
Most modern slider with hardware accelerated transitions for ReactJS
^5.2.0 support react >=18.0.0 <20.0.0
NextJS 14
(v14.1.0+)yarn add bear-react-carousel
import BearCarousel, {TBearSlideItemDataList, BearSlideImage} from 'bear-react-carousel';
import 'bear-react-carousel/dist/index.css';
const images = [
{id: 1, imageUrl: "https://dummyimage.com/900x400/dee2e6/6c757d.jpg"},
{id: 2, imageUrl: "https://dummyimage.com/900x400/dee2e6/6c757d.jpg"},
{id: 3, imageUrl: "https://dummyimage.com/900x400/dee2e6/6c757d.jpg"},
];
const data: TBearSlideItemDataList|undefined = images.map(row => {
return <BearSlideImage
key={row.id}
imageUrl={row.imageUrl}
/>;
});
export const CustomBanner = () => {
return <BearCarousel
data={data}
height="200px"
/>
}
There is also a example that you can play with it:
There is also a codesandbox template that you can fork and play with it:
Use Nextjs example
MIT © imagine10255
FAQs
Most modern mobile touch slider with hardware accelerated transitions for ReactJS
The npm package bear-react-carousel receives a total of 169 weekly downloads. As such, bear-react-carousel popularity was classified as not popular.
We found that bear-react-carousel 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.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.
Security News
New CNA status enables OpenJS Foundation to assign CVEs for security vulnerabilities in projects like ESLint, Fastify, Electron, and others, while leaving disclosure responsibility with individual maintainers.