Border Radius
Our border radius system creates visual softness and consistency. Use rounded corners to make interfaces feel friendly and modern.
Radius Scale
Six border radius values from subtle to fully rounded.
border-radius: 0.25rem
border-radius: 0.25rem
border-radius: 0.375rem
border-radius: 0.5rem
border-radius: 0.75rem
border-radius: 1rem
border-radius: 9999px
Usage Guidelines
When to Use Each Radius
Inline tags, fine details, tight UI elements
Same value as Small. Tailwind's default rounded.
Small chips, minimal rounding
Buttons, form fields, dropdowns
Cards, panels, modals, feature blocks
Hero cards, marketing blocks, large decorative containers
Pills, badges, avatars, circular elements
Visual Examples
Buttons and form fields. Not the standard card size.
Standard card, panel, modal. The dominant container shape.
Hero cards and marketing blocks
Best Practices
Code Reference
CSS Custom Properties
:root {
--radius-sm: 0.25rem; /* 4px */
--radius: 0.25rem; /* 4px */
--radius-md: 0.375rem; /* 6px */
--radius-lg: 0.5rem; /* 8px */
--radius-xl: 0.75rem; /* 12px */
--radius-2xl: 1rem; /* 16px */
--radius-full: 9999px; /* Circular */
}
Tailwind CSS Classes
.rounded-sm { border-radius: 0.25rem; } /* 4px */
.rounded { border-radius: 0.25rem; } /* 4px */
.rounded-md { border-radius: 0.375rem; } /* 6px */
.rounded-lg { border-radius: 0.5rem; } /* 8px */
.rounded-xl { border-radius: 0.75rem; } /* 12px */
.rounded-2xl { border-radius: 1rem; } /* 16px */
.rounded-full { border-radius: 9999px; } /* Circular */