Three size variants provide flexibility for different UI contexts and hierarchies.
Three visual styles establish clear hierarchy and distinguish between primary and secondary actions.
All combinations of size and style variants work together seamlessly.
| Size | Primary | Secondary | Tertiary |
|---|---|---|---|
| Small | |||
| Medium | |||
| Large |
When to use each variant:
| Variant | Use Case | Example |
|---|---|---|
| Small Primary | Compact spaces, inline actions | Table row actions, card buttons |
| Medium Primary | Standard forms, dialogs | Form submit, modal confirm |
| Large Primary | Hero sections, prominent CTAs | Landing page signup, checkout |
| Secondary | Alternative actions | Cancel, back, secondary options |
| Tertiary | Low-priority actions | Learn more, skip, dismiss |