Skip to content

Radius

DGA corner radii.

Version 0.2.0 ·

Radius scale
Direction
Theme
Viewport
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.