# Radius

> Corner radius for controls, cards and dialogs.

Corners grow with the size of the surface: controls are the tightest, dialogs the softest.



| Token | CSS variable | Value | Use |
| --- | --- | --- | --- |
| radius | `--radius` | 12px | shadcn base radius; equals radius-lg. |
| radius-sm | `--radius-sm` | 6px | Badges, checkboxes and small chips. |
| radius-md | `--radius-md` | 8px | Inputs and buttons. |
| radius-lg | `--radius-lg` | 12px | Cards, including the floating search card. |
| radius-xl | `--radius-xl` | 16px | Dialogs and sheets. |
| radius-full | `--radius-full` | 9999px | Controls that are round by nature: avatars, switches, radios, progress bars, stepper circles, carousel dots and the drawer handle. Buttons are never pills, except the dashboard language selector. |

- Inputs and buttons: `radius-md`.
- Cards, including the dashboard's floating header card: `radius-lg`.
- Dialogs and sheets: `radius-xl`.
- Buttons follow the input radius and are never pills. `radius-full` is for controls that are round by nature (avatars, switches, radios, progress, carousel dots) and for the language pill in the dashboard header.
