Design
Component checklist
React
Definition
A radius refers to the amount of curvature or rounding applied to the corners of a rectangular shape or element.
It determines how none or smooth the corners of an element appear. In addition to its aesthetic impact, the radius can affect an element's perceived weight and texture.
Purpose and hierarchy
The purpose of radius rules is to highlight the container nesting level visually – the more the container envelops, the bigger its radius.
This description serves as a general guideline rather than a strict rule, as there is relative freedom in using the border radiuses according to your needs.
Variables
In Soul, we offer radius variables to help you maintain a consistent appearance throughout your project when simultaneously rounding all corners of an element. You can use the corresponding class or variable representing the desired radius value to apply these variables.