Carousel Slider
A premium, cinematic carousel slider powered by Framer Motion. It features smooth physics-based transitions, staggered content entry, and interactive navigation elements. Designed for high-impact visual storytelling with full responsiveness.
uiframer-motionlucide-react
Installation
$npx futureuikit add infinite-slider
Import
import { CarouselSlider } from "@/components/ui/carousel-slider"
Layout Variant
Color Theme
Theme
Animation
Shape
Spacing
Named Keys & Props
Pass these exact named keys as props on <CarouselSlider />. Click any color pill to copy the prop.
colorDefault is "default"(Black & White)variantVisual style"solid""outline""ghost""link"themeSurface theme"default""modern""clean""futuristic""brutal""halftone"shapeCorner shape"default""square""rounded""sharp"spacingInner spacing"default""2x""4x""6x""8x"Usage Example
A basic implementation example to get you started.
Example Implementation
import { CarouselSlider } from"@/components/ui/carousel-slider";
const slides = [
{ id: 1, title:"EXOTIC ADVENTURE", tag:"EXPLORE", location:"Bali, Indonesia", image:"..."},
{ id: 2, title:"URBAN EXPLORER", tag:"CITY", location:"Tokyo, Japan", image:"..."},
];
export default function Example() {
return <CarouselSlider slides={slides} autoPlayInterval={5000} />;
}Features
Key capabilities and highlights.
Key Capabilities
- ◆Advanced animations using Framer Motion's AnimatePresence.
- ◆Cinematic slide transitions with staggered content reveals.
- ◆Interactive navigation arrows and smart pagination dots.
- ◆Automatic progress indicator synchronized with the auto-play timer.
- ◆Supports high-resolution images with sophisticated gradient overlays.
- ◆Fully responsive and optimized for both touch and mouse interactions.
Notes
Important implementation details to consider.
Implementation Details
- ◆Install: Run'npx futureuikit add infinite-slider'.
- ◆Import:'import { CarouselSlider } from "@/components/ui/carousel-slider";'
- ◆Configuration: Provide an array of'slides', each requiring'id','title','tag','location', and'image'(URL).
- ◆Auto-play: Use'autoPlayInterval'(ms) to set the rotation speed. Set to 0 to disable auto-navigation.
- ◆Controls: Toggle'showArrows'and'showDots'props (boolean) to customize the navigation interface.
- ◆Responsiveness: The slider is optimized for full-width headers or hero sections.