Skip to main content

Shape

Corners and borders.

radius.control radius.badge radius.container radius.round border-width.default border-width.focus

The five answers​

QuestionAnswerWhy
Which shape roles does it need?Controls, badges and containersPill badges differ from controls.
How many corner sizes exist?ThreeControl, badge and container corners differ.
How are corners set?Fixed for the productOne brand, one set of corners.
What should control corners say?RoundedRounded corners feel friendly.
Where does shape show most?Controls and cardsCorners show on buttons and article cards.

Tokens​

Each token points to another token. Values live only on primitives, below.

TokenPoints to
radius.controlcontent-first.theme.base.radius.control → radius.8
radius.badgecontent-first.theme.base.radius.badge → radius.999
radius.containercontent-first.theme.base.radius.container → radius.12
radius.roundradius.full
border-width.defaultborder-width.1
border-width.focusborder-width.2

The raw values these tokens end at are on Primitives › Shape.

When to use what​

SituationUseNotWhy
Corners of buttons and inputsradius.control (rounded)Sharp cornersRounded corners match the warm reading tone. Sharp corners feel technical next to long text.
Shape of a status badgeradius.badge (pill)A rectanglePills sit softly next to text.