Actions
Button group
Group related actions that apply to the same item.
Anatomy
- Grouped action
- Divider
- Adjacent action
Live example
Keep actions together when people often choose between them for the same item, such as editing or sharing a palette.
Design tokens used
| Category | Token | Value | Where it’s used |
|---|---|---|---|
| Colour | --cc-foreground | — | Button labels on hover |
--cc-muted-foreground | — | Button labels | |
--cc-surface-muted | — | Button backgrounds on hover | |
--cc-border | — | Group outline and button dividers | |
--cc-focus-ring | — | Keyboard focus ring |