Skip to main content
Pricing

Tabs

Pro

Tab navigation for organising content into switchable panels. Two style variants: Underline tabs for page-level navigation with a bottom border indicator, and Pill tabs for inline section switching with a filled background indicator.

12 variants

Variant
Overview
Activity
Settings

Variants

VariantDescriptionWhen to use
Line
PillPill-shaped tabs with a filled background indicator.Use for inline content switching within a card or panel.
Enclosed

Usage Guidelines

Do

Keep tab labels short — one or two words maximum.

Don't

Use tabs for sequential steps — use a Stepper instead.

Do

Show the first tab as active by default.

Don't

Mix Underline and Pill styles in the same interface.

Do

Use Underline for page-level navigation, Pill for inline switching.

Don't

Place more than 6 tabs — consider a different navigation pattern.

Code

This component is included in Lexicon Pro

From €149 — one-time purchase, lifetime access

View pricing

Design Tokens

This component is included in Lexicon Pro

From €149 — one-time purchase, lifetime access

View pricing

Accessibility

  • Uses role="tablist", role="tab", and role="tabpanel" pattern.
  • Active tab has aria-selected="true".
  • Each tab has aria-controls pointing to its associated panel.
  • Panels have aria-labelledby pointing back to their tab.

Keyboard Interactions

ArrowLeft/ArrowRightMoves focus between tabs.
Enter/SpaceActivates the focused tab.
HomeMoves focus to the first tab.
EndMoves focus to the last tab.