Skip to content

Spacing scale

Our spacing system is built around a base unit of 8 pixels. Most popular screen sizes are divisible by 8 on at least one axis - usually both. The result reduces the number of 1/2 pixels shown on screen so edges look crisp.

This base unit determines the spacing scale and ensures visual consistency across products. This scale is a limited set of spacing values that is used to lay out UI elements in a consistent way. Each spacing value is a multiple of the base unit and ranges from 0px to 80px to allow for flexibility while still maintaining consistency across different layouts.

TokenMultiplierREMPXVisual Representation
—units-00x0rem0px
—units-250.25x0.125rem2px
—units-500.5x0.25rem4px
—units-750.75x0.375rem6px
—units-1001x0.5rem8px
—units-1501.5x0.75rem12px
—units-2002x1rem16px
—units-2501.25x1.25rem20px
—units-3003x1.5rem24px
—units-4004x2rem32px
—units-5005x2.5rem40px
—units-6006x3rem48px
—units-8008x4rem64px
—units-100010x5rem80px

Design resources

View in Figma