Button styles for primary actions, secondary actions, and destructive operations.
Button variants
Disabled
Small
Compact button for dense areas like header bars. 32px hit area comfortably exceeds the WCAG 2.2 AA 24px target size minimum.
Full width
CSS classes
Button CSS classes
l-ui-button--primary |
Primary action button with solid background (standalone) |
l-ui-button--outline |
Secondary action button with outline style (standalone) |
l-ui-button--danger |
Solid red destructive action button (standalone) |
l-ui-button--outline-danger |
Destructive action button with red outline (standalone) |
l-ui-button l-ui-button--icon |
Icon-only button for close, theme toggle, and other actions (standalone) |
l-ui-button--full |
Modifier - combine with a variant above for full-width |
l-ui-button--small |
Modifier - combine with a variant above for a compact 32px-tall button |