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 and containersPills everywhere; badges share the control corner.
How many corner sizes exist?TwoPill controls and large container corners.
How are corners set?Fixed for the productOne brand, one set of corners.
What should control corners say?PillPill controls feel playful.
Where does shape show most?Buttons and badgesPill buttons are the signature shape.

Tokens​

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

TokenPoints to
radius.controlbrand-expressive.theme.base.radius.control → radius.999
radius.badgebrand-expressive.theme.base.radius.badge → radius.999
radius.containerbrand-expressive.theme.base.radius.container → radius.24
radius.roundradius.full
border-width.defaultborder-width.2
border-width.focusborder-width.3

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

When to use what​

SituationUseNotWhy
Corners of buttons and inputsradius.control (pill)Sharp cornersPills match the brand's round, playful shapes. Sharp corners would feel corporate.
Shape of a status badgeradius.badge (pill)A rectanglePills match the controls.