Visual rules
Corners and shape
Corners are square: the radius is 0 everywhere.
Only things that are round, such as a circular avatar or a dot, have a radius. Bars, cards, cells, buttons, inputs and containers are never rounded.
Use
The components have square corners. In your own markup, don't set a radius, except on something that is round:
.status-dot {
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background: var(--color-data-positive);
}If your app uses Tailwind, the preset keeps Tailwind's rounded-* utilities for things that are round, such as rounded-full on an avatar. Don't use them on bars, cards, cells, buttons, inputs or containers.
How it works
Square corners
Every rectangle in the system has square corners: bars in a chart, cards, table cells, buttons, inputs and containers.
A shape that is round, such as a circular avatar, a dot on a map or the mark of a radio button, keeps its radius.
<Button emphasis="primary">Square button</Button>
<Checkbox id="square-checkbox" label="Square checkbox" checked={true} />
<RadioButton id="round-radio" name="shapes" label="Round radio button" selectedId="round-radio" />A card, a bar and a dot, with their corners:
The full visual rules are in the specification.