Carousel
A carousel with motion and swipe built using Embla Carousel.
Component Features
- 🔄 Smooth Animation: Built-in transition and swipe gesture support.
- ▶️ Autoplay: Supports automatic playback via Embla plugins.
- ↕️ Vertical Mode: Supports both horizontal and vertical orientations.
- 🎨 Theme Customization: Supports global theme customization via
BrConfigProviderand local style overrides with TailwindCSS.
Basic Usage
The most basic carousel display.
Autoplay
Use the plugins prop with embla-carousel-autoplay to enable automatic slide transitions.
Vertical
Set orientation="vertical" to switch to vertical mode. Note that you need to explicitly set the container height.
Theme Customization
Combined with BrConfigProvider, you can globally override the default styles of the component. At the same time, styles can be overridden locally via TailwindCSS.