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.xxs4px
spacing.xs8px
spacing.sm12px
spacing.md16px
spacing.lg20px
spacing.xl24px
spacing.xxl28px
spacing.3xl32px
spacing.4xl40px
spacing.5xl48px
spacing.6xl56px
spacing.7xl64px
spacing.8xl72px

Do / don’t

  • ✅ Use spacing.xxs / xs / sm for intra-component gaps (icon-to-label, chip padding, form field spacing).
  • ✅ Use spacing.md / xl for card/section padding.
  • ✅ Use spacing.4xl / 5xl for 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.