Components · UI Primitives
Carousel
Slider with prev/next & horizontal/vertical orientation.
Slide 1
Slide 2
Slide 3
Slide 4
Props
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | horizontal | vertical | horizontal | Scroll axis. |
loop | boolean | false | Wrap from last to first. |
autoplay | boolean | false | Advance automatically. |
Reference API for the design concept — align names and types with your implementation.
Guidelines
- Use in the active theme; the component adapts to light and dark automatically.
- Keep the purple accent for interactive states only — never as a fill or background.
- Copy the markup from the Code tab and wire it to
base.csstokens.