LifeDS

Component

Carousel

Motion and swipe built with Embla Carousel. Supports orientation, sizing, the imperative API and plugins like autoplay.

orientationhorizontal · vertical
optsEmbla options — align, loop, direction
setApiaccess the Embla API instance
pluginsarray of Embla plugins, e.g. Autoplay
Playground
1
2
3
4
5

Basic

1
2
3
4
5

Sizes — basis utility

1
2
3
4
5
6

Orientation — vertical

1
2
3
4
5

With API — current slide state

1
2
3
4
5

Slide 0 of 0

With Autoplay plugin

1
2
3
4
5

RTL support

١
٢
٣
٤
٥

Tokens used

5 semantic tokens consumed by this component.

--backgroundBackground
bg-background
--foregroundForeground
text-foreground
--borderBorder
border-borderborder
--ringRing
ring-ringring
--muted-foregroundMuted Foreground
text-muted-foreground