Borders & Elevation
Radius, border widths, and shadow steps. Radius tokens derive from --radius so themes can retune the entire scale by changing one value.
Radius
--radius-sm0.6× · 6px
--radius-md0.8× · 8px
--radius-lg1× · 10px
--radius-xl1.4× · 14px
--radius-2xl1.8× · 18px
--radius-3xl2.2× · 22px
--radius-4xl2.6× · 26px
rounded-full∞ · 50%
Border widths
border-0 (none)border (1px) — default for cards/inputsborder-2 (2px) — emphasized edgesborder-4 (4px)border-8 (8px)Focus ring
Interactive elements use a 3px ring at --color-ring with 50% opacity. Click or tab to the button below to preview.
Shadows
shadow-smSubtle lift on hover states
shadowDefault card elevation
shadow-mdPopovers, dropdown menus
shadow-lgModals, dialogs, hover cards
shadow-xlFloating action buttons, prominent overlays
shadow-2xlPrimary hero CTAs, fullscreen overlays