Skip to content

Radius

Corner radius tokens for components, cards, and containers.

Scale

6 tokens from sharp (none) to fully round (full). Every component corner in the system uses one of these — no arbitrary values.

TokenValuePreviewUsage
radius/none0px
Tables, inline elements, flush containers
radius/xs2px
Badges, tooltips, code chips
radius/sm4px
Inputs, small buttons, tags
radius/md8px
Buttons, cards, dropdowns, selects
radius/lg12px
Modals, drawers, large panels
radius/full999px
Pills, avatars, toggle switches

Component mapping

Which token each component uses — always match the component to its assigned token, never override.

Button

radius/md

Input

radius/sm

Badge

radius/xs

Card

radius/md

Modal

radius/lg

Avatar

radius/full

Pill / Tag

radius/full

Table row

radius/none

Guidelines

Do
  • Always use a token — never write border-radius: 6px or other arbitrary values
  • Use radius/md as the default for interactive elements like buttons and cards
  • Use radius/full for anything pill-shaped or circular
  • Match radius to the component visual weight — smaller components use smaller radius
Don't
  • Mix radius tokens within the same component (e.g. md top, sm bottom)
  • Use radius/lg on small elements like badges or inputs
  • Use radius/full on rectangular content containers
  • Override tokens with arbitrary values to "just make it look right"