Components

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

Inputs

Checkbox

Select independent options or confirm a choice as part of a form.

Anatomy

  1. Checkbox
  2. Checkmark
  3. Option label

Configuration

Checkbox 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—Enabled label
--cc-muted-foreground—Disabled label
--cc-primary—Checked and mixed box background and border
--cc-primary-hover—Checked and mixed box background and border on hover
--cc-primary-foreground—Checkmark and mixed-state dash
--cc-critical-soft-foreground—Validation message
--cc-critical-border—Invalid box border
--cc-field-background—Unchecked box background
--cc-field-border—Unchecked box border
--cc-field-hover-border—Unchecked box border on hover
--cc-focus-ring—Keyboard focus ring