Spacing
Spacing tokens drive padding, gaps, and vertical rhythm. The scale is T-shirt sized (xxs → xxl) with a jump to 4xl, 5xl, … for section-level layout gutters.
Partial import. The Metrics variable collection in Figma also defines
lg, 2lg, 3lg, 4lg, 6lg, 7lg, 8lg, 9lg. These will land once the Metrics page is synced.
spacing.xxs4pxspacing.xs8pxspacing.sm12pxspacing.md16pxspacing.lg20pxspacing.xl24pxspacing.xxl28pxspacing.3xl32pxspacing.4xl40pxspacing.5xl48pxspacing.6xl56pxspacing.7xl64pxspacing.8xl72pxDo / don’t
- ✅ Use
spacing.xxs / xs / smfor intra-component gaps (icon-to-label, chip padding, form field spacing). - ✅ Use
spacing.md / xlfor card/section padding. - ✅ Use
spacing.4xl / 5xlfor hero and page-level margins. - ❌ Don’t invent intermediate values (
10,14). If the scale doesn’t have what you need, propose a new token in Figma first.