Choose the border radius for UI elements.
radius
setting manages the radius factor applied to the components:
border-radius
is contextual and differs depending on the component.
radius
prop.
radius
prop, but will inherit the radius setting from the theme. The radius
prop is also unavailable on most text-based components.
1
2
3
4
5
6
radius
prop is used to set just the radius factor—you can use the radius scale to style your own components.
Radius tokens are accessed using CSS variables. You can use these tokens to style your custom components, ensuring they are consistent with the rest of your theme.