Variants
defaultsecondaryoutlineghostdestructivelinkSizes
xssmdefaultlgicon-xsicon-smiconicon-lgWith icon
xs · startsm · startdefault · startlg · startdefault · enddestructive · startDisabled
Every variant, disabled. A disabled button leaves the tab order.
defaultsecondaryoutlineghostdestructivelinkStates
Tab through this row to see the focus ring on each variant.
Focusable when disabled
Stays in the tab order and can be hovered, so a tooltip can say why it is unavailable. Presses do nothing.
Add a title to publish.
defaultAdd a title to publish.
secondaryAdd a title to publish.
outlineAdd a title to publish.
ghostAdd a title to publish.
destructiveAdd a title to publish.
linkPending
Return a Promise from onClick and the button stays pending, and ignores presses, until it settles. Press each one.
label swap · data-showicon swap · data-showlabel swap · trailing iconno swapdefault · pendingsecondary · pendingoutline · pendingghost · pendingdestructive · pendinglink · pendingContent
long labelfull width