Radius
Soft, rounded corners, with one default and very few decisions.
Terra's corners are gently rounded, which supports the warm feel. The scale is small, and 8px is the default, so most of the time there's nothing to decide.
Scale
Token | Pixels | REM | Use for |
|---|---|---|---|
radius-1 | 4px | 0.25rem | Checkbox, the smallest elements |
radius-2 | 8px | 0.5rem | Default. Button, input, tooltip |
radius-3 | 12px | 0.75rem | Cards and larger components |
radius-4 | 16px | 1rem | Cards and larger components |
radius-5 | 20px | 1.25rem | Cards and larger components |
radius-6 | 24px | 1.5rem | Cards and larger components |
radius-full | 999px | n/a | Tag, tab, avatar, toggle |
Choosing a radius
Default: 8px

Buttons, inputs, and tooltips all use radius-2. It's the most used radius in Terra, so start here.
Smaller: 4px

If something needs a tighter corner, there's only one option: radius-1. Checkboxes use it. Having a single smaller size means there's nothing to debate.
Larger: 12px to 24px
Most foundation components are small, so the bigger radii are for cards and larger components. A larger element looks better with a larger radius.
Full: 999px

The pill shape. Used for tags and tabs, and for round elements like avatars and toggles.
Usage rules
Start with radius-2 and only change it with a reason.
Don't use sizes outside the scale, such as 6px or 10px.
Use radius-full for pills and circles. Don't use it on cards or other large elements.
When one rounded shape sits inside another, make the inner radius smaller than the outer one, so the corners look even.
