Components

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

Inputs

Combo box

Filter a list as you type and choose a matching value.

Anatomy

  1. Field label
  2. Search input
  3. Suggestion list
  4. Highlighted option

Configuration

Search states

Type to filter fonts. Use the arrow keys to move through results and Enter to select.

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-foreground—Field label and available fonts
--cc-muted-foreground—No-results text
--cc-subtle-foreground—Search placeholder
--cc-surface-elevated—Suggestion panel background
--cc-border—Suggestion panel outline
--cc-primary—Editable field border on focus
--cc-primary-soft—Highlighted and hovered results
--cc-primary-soft-foreground—Highlighted result text and icon
--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