Components

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

Inputs

Toggle

Turn a setting on or off when the change takes effect immediately.

Anatomy

  1. Track
  2. Thumb
  3. Setting label

Configuration

Switch states

The setting starts on and can be changed immediately.

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-foreground—Switch label
--cc-surface-muted—Off track
--cc-primary—On track
--cc-primary-foreground—Thumb in both positions
--cc-focus-ring—Keyboard focus ring