Skip to content

Radius

Download .md

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

  • radius-sm6pxBadges, small chips
  • radius-md8pxInputs and buttons
  • radius-lg12pxCards and the search card
  • radius-xl16pxDialogs and sheets
  • radius-fullfullAvatars, switches, progress
TokenValueUse
radius--radius12pxshadcn base radius; equals radius-lg.
radius-sm--radius-sm6pxBadges, checkboxes and small chips.
radius-md--radius-md8pxInputs and buttons.
radius-lg--radius-lg12pxCards, including the floating search card.
radius-xl--radius-xl16pxDialogs and sheets.
radius-full--radius-full9999pxControls 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.