Skip to content

Button

Command control. Three intents, three control heights, full state coverage; the primary intent reads as the affirmative action.

PropTypeDefaultDescription
intentButtonIntent'default'
sizeButtonSize'md'
loadingbooleanfalse

Plus all native <button> attributes.

  • default
  • hover
  • focus-visible
  • active
  • disabled
  • loading
Do
Use danger for destructive/irreversible actions only.
Don’t
Don’t rely on color alone — pair danger with a confirmation Dialog.

Colors come only from Semantic tokens, so this component re-themes automatically across Day / Night-NVG / Mono with no variant swap. It uses CSS logical properties, so it mirrors correctly in RTL.