Skip to content

Tabs

Switch between related panels with a mouse or keyboard.

alpina-ui/interactive/tabs

Interactive preview

Civic notebook

Production specifications

Paper
Natural ivory
Paper weight
140 g/m²

Usage notes

Use automatic activation for immediate panels or manual activation when opening a panel is costly. Vertical tab labels wrap within a capped column.

When to use

Switch among peer views of the same object while preserving its context, such as a case and its documents.

When to avoid

Required steps should remain in a sequence. Hiding validation errors behind unrelated tabs makes a form harder to finish.

Accessibility

Name the tablist, associate tabs with their panels and check arrow-key movement. Choose manual activation for slow panels.

Keys
KeyAction
TabEnter the tab list on its active tab. Continue to the panel.
Arrow keysMove between enabled tabs along the list’s orientation.
Home / EndMove to the first or last enabled tab.
Enter / SpaceIn manual activation mode, display the focused tab’s panel.

Content

Use compact, parallel nouns. Distinguish the labels without suffixes that disappear when space is tight.

Use
Overview / Documents / History
Avoid
Details / Other details / More

Copy in four languages

German
Dokumente9 characters
French
Documents9 characters
Italian
Documenti9 characters
Romansh
Documents9 characters
Add to your project
npx --no-install alpina add tabs