modern carousel
Advanced carousel with fade transitions and auto-play
Mountain Vista
Nature's Majesty
Breathtaking mountain landscapes that inspire wanderlust
Ocean Waves
Coastal Beauty
The rhythmic dance of waves against pristine shores
Forest Path
Woodland Serenity
Peaceful trails through ancient woodland sanctuaries
Desert Dunes
Golden Horizons
Endless golden sands sculpted by desert winds
Installation
Choose your preferred installation method. CLI is recommended for the fastest setup.
1
Quick Install
One command, zero configuration
$ npx @hritik-sharmaa/repeat-ui add carousel-modern-carousel --variant ts-tailwind
Props Table
Configuration options and properties for this component.
Prop | Type | Default | Description |
---|---|---|---|
items | CarouselItem[] | - | Array of carousel items to display. Each item should have id, title, subtitle, image, description, and color (which is optional) properties. |
autoPlay | boolean | true | Whether the carousel should automatically advance to the next slide |
autoPlayInterval | number | 5000 | Time in milliseconds between automatic slide transitions |
className | string | "" | Additional CSS classes to apply to the carousel container |