Radius
Radius refers to the rounded corners found in elements and various pieces of content. These corners provide a touch of personalization to the design, resulting in a bolder and more expressive appearance.
Definition
Section titled “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
Section titled “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
Section titled “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.

| Name | Token | Value |
|---|---|---|
| Small | --border-radius-small |
2px |
| Medium | --border-radius-medium |
6px |
| Large | --border-radius-large |
8px |
| Full | --border-radius-full |
50% |
| Pill | --border-radius-pill |
999px |