Border Radius

From sharp panels to rounded chips, and when each is the right call.

v1.0.0·Updated Jul 9, 2026 · 12:00
From sharp to soft

Radius carries tone. Sharp corners read as structure — panels, tables, the code block. Soft corners read as something you touch — buttons, chips, cards. And full rounding is reserved for identity: pills, avatars, the toggle knob.

The scale
radius-0
0px
radius-2
2px
radius-6
6px
radius-8
8px
radius-10
10px
radius-12
12px
radius-16
16px
radius-full
999
When each is right
TokenValueWhere
--radius-00pxStructural panels, tables, code
--radius-22pxInputs, small fields
--radius-66pxChips, tags, hit areas
--radius-88pxButtons, menu items
--radius-1010pxCards, notifications
--radius-1212pxPanels, modals
--radius-1616pxLarge surfaces
--radius-full999pxPills, avatars, toggles
Rules
Sharp for structure

Full-bleed panels, tables and the code block stay square. Rounding a structural edge makes it feel like a floating widget.

Nest smaller inside larger

A radius-8 button inside a radius-12 card. An inner radius should never exceed its container's.

Full means identity

Reserve 999px for pills, avatars and toggles — shapes that are meant to read as round, not just soft.