Sizing

Width and height tokens — the numeric step scale, named container sizes, and layout keywords.

Sizing tokens set explicit widths and heights. They share the numeric step scale with spacing, then add named container sizes (xs7xl), a prose reading measure, and layout keywords (full, min, max, fit, and the viewport units).

TokenValuePixelsDescription
14px4pxExtra small size (4px)
28px8pxSmall size (8px)
312px12pxMedium-small size (12px)
416px16pxMedium size (16px)
520px20pxMedium-large size (20px)
624px24pxLarge size (24px)
728px28pxExtra large size (28px)
832px32px2x large size (32px)
936px36px3x large size (36px)
1040px40px40px
1144px44px44px
1248px48px48px
1456px56px56px
1664px64px64px
2080px80px80px
2496px96px96px
28112px112px112px
30120px120px120px
32128px128px128px
36144px144px144px
40160px160px160px
44176px176px176px
48192px192px192px
50200px200px200px
52208px208px208px
56224px224px224px
60240px240px240px
64256px256px256px
72288px288px288px
80320px320px320px
96384px384px384px
px1px1pxSingle hairline pixel
half2px2pxHalf step (2px)
1.56px6pxBetween extra small and small (6px)
2.510px10pxBetween small and medium-small (10px)
3.514px14pxBetween medium-small and medium (14px)
full100%Full width of the parent container
minmin-contentShrink to the minimum content size
maxmax-contentExpand to the maximum content size
fitfit-contentFit to content size within available space
dvh100dvhFull dynamic viewport height, adjusts for mobile browser chrome
svh100svhSmall viewport height, smallest possible viewport
lvh100lvhLarge viewport height, largest possible viewport
dvw100dvwFull dynamic viewport width
svw100svwSmall viewport width
lvw100lvwLarge viewport width
vw100vwFull viewport width
vh100vhFull viewport height