Skip to main content

Carousels

A slideshow component for cycling through elements—images or slides of text—like a carousel.

Example

Carousels don’t automatically normalize slide dimensions. As such, you may need to use additional utilities or custom styles to appropriately size content. While carousels support previous/next controls and indicators, they’re not explicitly required. Add and customize as you see fit.

Result
Loading...
Live Editor

Controlled

You can also control the Carousel state, via the activeIndex prop and onSelect handler.

Result
Loading...
Live Editor

Crossfade

Add the fade prop to your carousel to animate slides with a fade transition instead of a slide.

Result
Loading...
Live Editor

No transition animation

Set the slide prop to false to disable the transition animation between slides.

Result
Loading...
Live Editor

Individual Item Intervals

You can specify individual intervals for each carousel item via the interval prop.

Result
Loading...
Live Editor

Dark variant

Add variant="dark" to the Carousel for darker controls, indicators, and captions.

Result
Loading...
Live Editor

API

CarouselItem

CarouselCaption