Radius

Corner radius tokens keep rounding consistent across components. The whole scale derives from a single --radius value, so changing one variable retunes every corner in the system.

Radius Scale + Tokens

Defined in app/globals.css as multiples of --radius. Use the Tailwind class — prefer the named scale over an arbitrary value.

TokenTailwindMultiplierPreview
nonerounded-none0
smrounded-sm0.6×
mdrounded-md0.8×
lgrounded-lg1× (base)
xlrounded-xl1.4×
2xlrounded-2xl1.8×
3xlrounded-3xl2.2×
4xlrounded-4xl2.6×
fullrounded-full9999px

Usage Guidelines

Which token to use is defined at the component level — refer back here for the available scale.

When in doubt, use rounded-lg

rounded-lg maps directly to the base --radius value and is the default for cards, inputs, and most containers.

Scale with size

Larger elements generally read better with a larger radius — step up the scale (xl, 2xl, …) for bigger surfaces like dialogs and hero cards, and down (sm) for small, dense controls like badges and chips.

Fully round for pills

Use rounded-full for pill-shaped controls — buttons, avatars, and badges that should stay circular or capsule-shaped regardless of size.