BUTTON

When to Use

Example: order detail page (skeleton + footer)

  • Triggering primary, secondary, or tertiary actions in forms, dialogs, and toolbars
  • Submitting forms, confirming decisions, or navigating to a new flow
  • Pairing with other buttons in action groups to create clear visual hierarchy
  • Use IconButton for icon-only actions in compact spaces; use GradientButton for top-level brand CTAs

Usage Guidelines

Do example
DO

Use a single primary action button per view to highlight the most important action

Don't example
Don’t

Don't place multiple Primary or Brand buttons on the same row

Interaction Behavior

InteractionBehavior
Click / TouchTriggers the associated action, visually switches to Activated state
HoverBackground color transitions to hover state in 150ms ease
Keyboard Enter / SpaceTriggers click event
Keyboard TabFocuses button, shows focus ring
Disabledpointer-events: none, gray background

Accessibility

RequirementDetails
Semantic roleUse native <button> element
Disabled stateUse disabled attribute
ContrastText-to-background contrast ≥ 4.5:1
Focus orderFollows DOM order, supports Tab navigation