Skip to content

Actions

Actions are surfaces that invite user interaction. They are the “buttons” and “controls” of your interface.

The primary interactive surface. Used for buttons, toggles, and active states.

A lower-emphasis interactive surface. Useful for secondary buttons or ghost buttons.

Interactive elements have standard states that work across all surfaces.

The system automatically generates hover and active states for all action surfaces.

Used to indicate that an item is currently chosen (e.g., a selected item in a list). This maps to the system’s “Highlight” color.

Selected Item

Used for non-interactive items. This maps to the system’s “GrayText” color and reduces contrast while maintaining legibility.

Accessible focus indicators are critical for keyboard navigation. The system provides a universal focus ring that adapts to the brand color and ensures contrast.

Apply the .focus-ring utility class to interactive elements. It applies styles on :focus-visible.

<button class="surface-action focus-ring">Click Me</button>

Interactive elements use the standard surface tokens, plus specific tokens for states and focus.

Token VariableDescriptionUsage
--focus-ring-colorThe universal focus ring color.outline-color: var(--focus-ring-color)
--surface-tokenThe background of the action.background: var(--surface-token)
--text-high-tokenThe text color of the action.color: var(--text-high-token)