Components

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

Overlays

Command hint

Show the keyboard shortcut alongside the action it triggers.

Anatomy

  1. Action label
  2. Shortcut keys

Live example

Use command hints next to frequently used actions so people can discover their shortcuts.

Design tokens used

CategoryTokenValueWhere it’s used
Colour--cc-foregroundβ€”Key hint, button label, dialog heading, and result links
--cc-muted-foregroundβ€”Empty search message and quiet close action
--cc-subtle-foregroundβ€”Search placeholder
--cc-surfaceβ€”Secondary button background
--cc-surface-mutedβ€”Key hint background, action hover, and result hover
--cc-surface-elevatedβ€”Search dialog background
--cc-borderβ€”Key hint and trigger borders
--cc-primaryβ€”Search field border on focus
--cc-field-backgroundβ€”Search field background
--cc-field-foregroundβ€”Search query
--cc-field-borderβ€”Search field border
--cc-field-hover-borderβ€”Search field border on hover
--cc-focus-ringβ€”Keyboard focus ring
--cc-backdropβ€”Overlay behind the dialog