The shared Button in all its variants, sizes and states, the Icon button sizes, and the buttons built outside it.
6 variants × 5 sizes. Used in 49 files. Every size is at least 40 px high (44 px for default and icon) for touch targets.
| variant \ size | default | sm | lg | icon | icon-sm |
|---|---|---|---|---|---|
| default | |||||
| outline | |||||
| secondary | |||||
| ghost | |||||
| destructive | |||||
| link |
| variant \ state | Default | Hover | Focus | Pressed | Disabled | Error | Loading |
|---|---|---|---|---|---|---|---|
| default | |||||||
| outline | |||||||
| secondary | |||||||
| ghost | |||||||
| destructive | |||||||
| link |
Loading is how the app shows it: the button disabled, with a Spinner and an “…ing” label (e.g. claim-button.tsx, totp-setup.tsx). Pressed shifts the button down 1 px.
No separate component: Button with size “icon” (44 px) or “icon-sm” (40 px) and an icon child.
Button variant outline with an icon and a live label; shows “Copied” for 2 s after a click.
Native buttons with their own classes. They don't follow the Button sizes, radius or focus ring.