Skip to content

Carousel

Browse a series of cards with manual controls and a position indicator.

alpina-ui/interactive/carousel

Interactive preview

Usage notes

Start a swipe on slide content to navigate. Gestures that start on a nested control belong to that control. A single slide adds no carousel tab stop.

When to use

Let readers move between related visual examples that make sense one at a time.

When to avoid

A list or grid works better when readers need to compare every item before choosing.

Accessibility

Give previous and next controls names and make the current position available in text. Keep navigation usable without a swipe.

Keys
KeyAction
← / →Show the previous or next slide while the carousel region has focus.
Home / EndShow the first or last slide.
Enter / SpaceActivate a focused slide navigation button.

Content

Use short directional labels and identify the subject of the slide. Keep the translated caption separate from the position indicator.

Use
Next floor plan / Plan 2 of 4
Avoid
›

Copy in four languages

German
Nächster Plan13 characters
French
Plan suivant12 characters
Italian
Pianta successiva17 characters
Romansh
Proxim plan11 characters
Add to your project
npx --no-install alpina add carousel