Components

Explore live examples and usage guidance for interface components styled with the active colour palette.

Navigation

Segmented control

Switch between a small set of views or settings with the current selection visible.

Anatomy

  1. Control track
  2. Selected segment
  3. Unselected segment

Live example

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-foreground—Selected segment label
--cc-muted-foreground—Unselected segment labels
--cc-surface—Selected segment background
--cc-surface-muted—Control track