Skip to content
DGA UI

Radius

DGA corner radii.

Radius scale
radius-direction
radius-theme
radius-viewport
Mobile · 375px
Utility:rounded-cardToken:--card-radiusValue:16px
Utility:rounded-noneToken:--radius-noneValue:0px
Utility:rounded-xsToken:--radius-xsValue:2px
Utility:rounded-smToken:--radius-smValue:4px
Utility:rounded-mdToken:--radius-mdValue:8px
Utility:rounded-lgToken:--radius-lgValue:16px
Utility:rounded-xlToken:--radius-xlValue:24px
Utility:rounded-fullToken:--radius-fullValue:9999px

Buttons and inputs use rounded-sm (4px). shadcn's --radius is set to the same value. rounded-2xl, rounded-3xl and rounded-4xl clamp to rounded-xl (24px), the largest DGA radius.

Edit this page on GitHub (opens in a new tab)