Components

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

Inputs

Select

Choose one value from a predefined set of options.

Anatomy

  1. Field label
  2. Selected option
  3. Dropdown indicator

Configuration

Select states

Hover over an enabled control or use Tab to see its hover and focus styles.

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-foreground—Field label
--cc-muted-foreground—Disabled selection and dropdown chevron
--cc-surface-muted—Disabled select background
--cc-primary—Editable field border on focus
--cc-critical-soft-foreground—Validation message
--cc-critical-border—Invalid field border
--cc-field-background—Editable field background
--cc-field-foreground—Entered value
--cc-field-border—Field border
--cc-field-hover-border—Editable field border on hover
--cc-focus-ring—Keyboard focus ring