Size tokens

Size tokens refer to the spacing rhythm used throughout a design. They’re used to help create consistent experiences across different platforms, environments and screen sizes.

Border

Border tokens determine the stroke width and radius of different elements.

TokenValue
width-xs0.5px
width-sm1px
width-md2px
width-lg4px
width-xl8px
width-base2px
radius-xs0.5px
radius-sm1px
radius-md2px
radius-lg4px
radius-xl12px
radius-base2px
radius-xs-hard-bottom0.5px 0.5px 0px 0px
radius-xs-hard-top0px 0px 0.5px 0.5px
radius-xs-hard-right0.5px 0px 0px 0.5px
radius-xs-hard-left0px 0.5px 0.5px 0px
radius-sm-hard-bottom1px 1px 0px 0px
radius-sm-hard-top0px 0px 1px 1px
radius-sm-hard-right1px 0px 0px 1px
radius-sm-hard-left0px 1px 1px 0px
radius-md-hard-bottom2px 2px 0px 0px
radius-md-hard-top0px 0px 2px 2px
radius-md-hard-right2px 0px 0px 2px
radius-md-hard-left0px 2px 2px 0px
radius-lg-hard-bottom4px 4px 0px 0px
radius-lg-hard-top0px 0px 4px 4px
radius-lg-hard-right4px 0px 0px 4px
radius-lg-hard-left0px 4px 4px 0px
radius-xl-hard-bottom12px 12px 0px 0px
radius-xl-hard-top0px 0px 12px 12px
radius-xl-hard-right12px 0px 0px 12px
radius-xl-hard-left0px 12px 12px 0px
radius-base-hard-bottom2px 2px 0px 0px
radius-base-hard-top0px 0px 2px 2px
radius-base-hard-right2px 0px 0px 2px
radius-base-hard-left0px 2px 2px 0px

Spacing

Spacing tokens are the values that provide consistent space across components.

TokenValue
xs2px
sm4px
md8px
lg16px
xl24px
2xl32px
3xl40px
4xl48px
5xl56px
6xl64px
7xl72px
8xl80px
base8px

Breakpoint

Breakpoint tokens contain specific viewport values, as applied to CSS media queries.

TokenValue
max-width-2xs319.98px
max-width-xs575.98px
max-width-sm767.98px
max-width-md991.98px
max-width-lg1199.98px
max-width-xl1399.98px
min-width-2xs0px
min-width-xs320px
min-width-sm576px
min-width-md768px
min-width-lg992px
min-width-xl1200px
min-width-2xl1400px

More about our layouts

You can read more about our layout system, including the baseline grid, on the layouts page.

Read more about our layouts

Was this page helpful?


Get in touch

We’re on hand to answer any questions you have or help you with your next project.