Skip to content
Saeede Agahi

Button

BetaBatch A. A button starts an action, such as saving or deleting.

When to use

Use for actions that change something, like saving or starting a task. Keep one primary button per area.

When not to use

Don't use to go to another page; use Link.

Anatomy

  1. Container
  2. Icon before the label (optional)
  3. Label
  4. Icon after the label (optional)
  5. Spinner, in place of the first icon, while loading

Variants

Button variants and tones
PropertyOptionsDefault
variantprimary, secondary, tertiarysecondary
toneneutral, negative (destructive actions)neutral

States

Pictures of each state. Use the live example on the Code tab to try the component.

Button states
DefaultHoverFocus-visiblePressedDisabledLoading
primary / neutral
primary / negative
secondary / neutral
secondary / negative
tertiary / neutral
tertiary / negative