Foundations
Radius
Radii belong to components, not to screens: things you press are fully round, things that hold content share one larger radius, fields sit in between.
Experience
What it looks like in use.
Round to label
The card around them carries the larger radius.
System
The logic and the rules behind it.
- Shape says what it does. Buttons, pills and chips are fully round; cards, dialogs and tables share the card radius; inputs and selects use the input radius.
- No free utilities.
rounded-lgproduces no CSS; a radius comes with its component.
Specifications
Every value, as tokens and utilities.
| Token | Primitive | Value |
|---|---|---|
| card.radius | radius.2xl | 16px |
| button.radius | radius.full | 9999px |
| input.radius | radius.md | 8px |
| pill.radius | radius.full | 9999px |
| table.radius | radius.2xl | 16px |
| link.radius | radius.sm | 4px |
| dialog.radius | radius.2xl | 16px |
| sideNav.link.radius | radius.md | 8px |
| code.radius | radius.lg | 12px |
| choice.radius | radius.sm | 4px |
| filterChip.radius | radius.full | 9999px |
| popover.radius | radius.lg | 12px |