Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
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
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 = images.map(row => {
return {
key: row.id,
// BearSlideImage or BearSlideCard
children: <BearSlideImage imageUrl={row.imageUrl}/>
};
});
export const CustomBanner = () => {
return <BearCarousel
data={data}
height="200px"
/>
}
There is also a codesandbox template that you can fork and play with it:
Use Nextjs example
bear-react-carousel lib in root
$ yarn build && cp -R ./dist ../bear-react-carousel-doc/node_modules/bear-react-carousel/
bear-react-carousel-doc lib in root
$ rm -rf ./node_modules/.cache && yarn dev
MIT © imagine10255
FAQs
Most modern mobile touch slider with hardware accelerated transitions for ReactJS
The npm package bear-react-carousel receives a total of 264 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 0 open source maintainers 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.