Carousel
The Carousel component displays a series of content in a horizontal scrollable view with optional navigation dots and controls.
Examples
(6)Properties
(47)Playground
Basic usage
Enable
autoPlay and loop on Carousel to rotate a small set of slides without custom pagination controls.Vertical orientation
Set
orientation="vertical" to rotate content along the Y-axis while keeping arrow and dot controls aligned for keyboard and touch users. Vertical carousels size to their container, so give the carousel an explicit height.Image overlay
Layer an absolutely positioned
Block with a semi-transparent bg on top of each slide to keep text and buttons readable on photography.Multiple slides
Combine
itemsPerPage with the Embla-style breakpoints prop to show more slides as the viewport grows. Keep slidesToScroll={1} so only one card advances at a time, even when desktop layouts show multiple slides side-by-side.Performance tuning
Pair
windowSize with reducedMotion to keep large or data-heavy carousels responsive while still exposing arrow navigation.Drag & motion
Tune the interaction model with
dragFree, skipSnaps, dragThreshold, and duration to match Embla-style motion control.</>
react-ui-library
100+ accessible, themeable components that work seamlessly across iOS, Android, and Web.
A Platform Blocks product.
Quick Links
Resources