Triggers an action. Primary, secondary, ghost and destructive, in 24, 28 and 32 px.
A row of toggle buttons: filters, formatting, visible columns.
Variants
Primary is the one accent of a view. Destructive is soft: red text on a light red fill.
Sizes
sm 24 px, md 28 px, lg 32 px, for every variant.
With icons
A leading icon, a trailing chevron, or both.
Icon only
Square, same three sizes. Always pass an aria-label.
Disabled
Loading
A spinner replaces the leading icon and the button is disabled while it runs. Click one to watch the swap.