Overview
Control corner rounding with radius utilities. Border radius helps create softer, more modern designs and works together with border width, style, and color.Border Radius Utilities
Border Radius
.rounded-none | 0 | border-radius: 0; | Square corners |
.rounded-sm | 4px | border-radius: 4px; | Small rounding |
.rounded | 6px | border-radius: 6px; | Standard rounding |
.rounded-lg | 8px | border-radius: 8px; | Large rounding |
.rounded-xl | 12px | border-radius: 12px; | Extra large rounding |
.rounded-2xl | 16px | border-radius: 16px; | Very large rounding |
.rounded-full | 9999px | border-radius: 9999px; | Fully rounded (pills) |
Examples
Basic Border Radius
Buttons with Radius
Common Patterns
Cards with Radius
Form Inputs
Images with Radius
Best Practices
- Match border radius: Use consistent border radius values throughout your design
- Small for subtle: Use small radius (4-6px) for subtle rounding
- Large for emphasis: Use large radius (12-16px) for modern, soft designs
- Full for pills: Use
rounded-fullfor pill-shaped buttons and badges

