Observed since 20 Oct, 19:37 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A customizable 3D cylindrical slider component for web projects.
A customizable animation slider component for web projects.
3D slider allows you to create an interactive slider with a unique 3D cylindrical animation effect. The slider dynamically adjusts for different screen sizes and supports configurable navigation, dots, and animations.
Installation:
npm install 3d-slider
or
yarn add 3d-slider
import { initializeSlider } from '3d-slider';
import '3d-slider/src/3d-slider.css';
initializeSlider({
sliderContainerClass: "slider", // CSS class of the slider container.
perspective: 1, // Slider container perspective.
transitionDuration: 2, // Transition duration for animations (in seconds) - Default: 2
alwaysOnMode: false, // Enable or disable continuous rotation mode.
alwaysOnDesktopDuration: 15, // Continuous rotation duration for desktop (in seconds) - Recommend: 15
alwaysOnMobileDuration: 5, // Continuous rotation duration for mobile (in seconds) - Recommend: 5
cardsToShowLargeScreen: 10, // Number of cards visible on large screens (≥1280px) - Default: 10
cardsToShowMediumScreen: 7, // Number of cards visible on medium screens (1024px–1279px) - Default: 7
cardsToShowSmallScreen: 4, // Number of cards visible on small screens (768px–1023px) - Default: 4
cardsToShowMobile: 2, // Cards to show on mobile mode (min 2) (max 3) 'Triangle mode' (<768px) - Default: 2
dotsMode: true, // Enable or disable navigation dots.
dotColor: "#959899", // HEX color for navigation dots (6 digit).
});
true / false).If the alwaysOnMode is enabled in the configuration:
Click on the Slider: Clicking toggles between rotation and pause. When paused, the slider snaps to the nearest angle, aligning the active card in the viewport.
This version of animate-slider has no external dependencies, making it lightweight and easy to use. No additional packages are required to run the slider.
<body>
<div class="your-slider-container-class">
<div>card-1</div>
<div>card-2</div>
<div>card-3</div>
</div>
</body>
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 19:37 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:f53151277aff628a43c5e33b75fe7226586f0a443521a0b8be188eafcfe88cb5