
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@stnew/carousel
Advanced tools
@stnew/carousel
An unstyled carousel component for React projects that allows for custom styling after import.
// require.js
const carousel = require('@stnew/carousel');
// es6
import Carousel from '@stnew/carousel';
items
- ReactNode[] Elements that will be cycled through and displayed. Must have at least 3 elements (otherwise, why are you using a carousel?).prevButton
- ReactNode Element used as the 'previous item'nextButton
- ReactNode Element used as the 'next item' button.button.startIndex
- number index of the element that will be shown first.autoRotate
- boolean toggle for the carousel to auto-rotate.autoRotateTimeout
- number time between auto-rotating (in milliseconds)carousel-container
- outer-most container for the carousel.carousel-button
- div element to which click handlers are attached. Acts as a wrapper for an optional element to act as the button.
carousel-button next
- the button wrapper element that cycles forward.carousel-button prev
- the button wrapper element that cycles backward.carousel-items
- wrapper for all carousel items.carousel-item-wrapper
- wrapper for each carousel item.
carousel-item-wrapper active
- the active carousel itemcarousel-item-wrapper prev
- the previously active carousel itemcarousel-item-wrapper next
- the next active carousel itemcarousel-indicators
- wrapper for all carousel indicators (meant to be optional visual indicators for progress through the carousel items).carousel-indicator
- individual carousel indicator
carousel-indicator active
- indicates the item that is currently activeFAQs
Unstyled carousel component that handles cycling states/logic.
We found that @stnew/carousel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.