# Rounded
The Rounded system provides consistent border radius values for creating smooth corners on elements. It offers predefined sizes, corner-specific controls, and custom values to maintain visual consistency throughout your interface.
### Size Variants
The rounded system includes predefined base sizes and arbitrary pixel values. These standardized radii
help maintain consistent corner rounding across your application's components.
#### Base
The base `rounded` class without size modifiers
and the `rounded--base` class both produce the same visual result,
providing the standard border radius (10px). Use `rounded--base` when you need
to explicitly set the base size in responsive contexts. See the [Responsive Rounded](#responsive-rounded) section for examples.
rounded--none
rounded--xsmall
rounded--small
rounded
rounded--medium
rounded--large
rounded--xlarge
rounded--xxlarge
rounded--full
Predefined RoundedDesign System
...
...
...
...
...
...
...
...
...
...
...
#### Arbitrary
Use `rounded--[Npx]` syntax to specify
exact pixel values from **0px to 50px**. This works with all rounded utilities, but does not support responsive variants.
rounded--[0px]
rounded--[10px]
rounded--[30px]
rounded--[20px]
rounded--[40px]
rounded--[50px]
Arbitrary Pixel RoundedDesign System
...
...
...
...
...
...
...
Arbitrary rounded values using the `rounded--[Npx]` syntax do not support responsive variants. Use predefined rounded classes if you need responsive behavior.
### Corner-Specific Rounding
Apply border radius to specific corners or sides of an element. This allows for more complex shapes
and asymmetric designs while maintaining consistency.
#### Individual Corners
Target specific corners with `rounded-{corner}{-size}` where
corner can be tl (top-left), tr (top-right), br (bottom-right), or bl (bottom-left).
rounded-tl--large
rounded-tr--large
rounded-bl--large
rounded-br--large
Corner-Specific RoundingDesign System
#### Side Rounding
Round entire sides with `rounded-{side}{-size}` where
side can be t (top), r (right), b (bottom), or l (left).
rounded-t--large
rounded-r--large
rounded-b--large
rounded-l--large
Side RoundingDesign System
Top left corner
Top right corner
Bottom right corner
Bottom left corner
Top corners
Right corners
Bottom corners
Left corners
### Responsive Rounded
Rounded utilities support size-based breakpoints, orientation variants, and their combination.
Use prefixes like `md:`, `portrait:`,
and `md:portrait:` to target conditions.
#### Base Examples
Apply different border radius values at different breakpoints using the size-based responsive system.
The framework follows a mobile-first approach where larger breakpoints inherit smaller ones.
The `--base` modifier
is particularly useful for resetting to the default size at specific breakpoints.
Responsive
Xlarge in landscape, small in portrait
Responsive RoundedSize-Based
Xlarge in landscape, small in portrait
#### Corner-Specific Examples
Corner-specific rounding utilities support responsive variants just like base rounded utilities.
Use prefixes like `md:`, `portrait:`,
and `md:portrait:` to apply different corner rounding at different breakpoints.
Responsive
Xlarge in landscape, small in portrait
Responsive Corner RoundingSize-Based
Xlarge in landscape, small in portrait
Previous
[Border Apply border patterns that create the illusion of different border intensities](/framework/docs/border)
Next
[Outline Pixel-perfect rounded borders using border-image for 1-bit displays](/framework/docs/outline)