Carousel
Container Layout draft Gen UI partSwipe through 3 to 5 cards of the same kind.
Examples
HTML and CSS
Framework-free reference. Styles live in system/components/carousel.css and read only tokens. Wrap markup in .v-root.
Rendered markup of the anatomy example
Props and slots
The component API. Gen UI JSON uses these names, and the Flutter widget should mirror them.
Props
| Prop | Values | Default |
|---|---|---|
dots | boolean | true |
itemWidth | number | 170 |
* required.
Slot rules
children: Card.
In Gen UI
How VelioBot uses this part. The bot returns JSON; the validator checks it; the renderer draws it.
JSON node
Every node may also carry id, grow, attribution, privateOnly and fallbackText.
Rules that name this part
bubble A message bubble holds text, or exactly one Card, Carousel or Text (or Progress dots while typing).
carousel-count A carousel holds 3 to 5 cards.
Usage in recipes
1 of the original cards use it. After V1. Priority table
Bot functions: Community and PopTonight picks, Suggestions, Trips.