Skip to content

Buttons

Buttons communicate actions and guide users through flows. Following patterns from Atlassian DS and Helsinki DS.

Button variants
VariantPurposeStyle
PrimaryMain actionFilled brand color, white text
SecondaryAlternative actionOutlined, brand border & text
GhostTertiary actionNo border, subtle hover bg
DangerDestructive actionRed fill, white text
Button sizes
SizeHeightPadding X
sm32px12px
md40px20px
lg48px24px

Each button variant supports these states:

StateDescription
DefaultNormal resting state
HoverSlightly darker background
ActiveDarker still, subtle inset shadow
FocusVisible focus ring (2px, brand color)
Disabled50% opacity, cursor: not-allowed
LoadingSpinner replaces or accompanies text
  • One primary button per section for the main action
  • Secondary for alternative or cancel actions
  • Ghost for low-priority in dense UIs
  • Button labels should be verbs: “Save changes”, “Delete item”
  • Minimum 44x44px touch target on mobile