Skip to content

Spacing

Download .md

All spacing comes from one 4px scale, so padding and gaps line up across products.

  1. space-14px
  2. space-28px
  3. space-312px
  4. space-416px
  5. space-520px
  6. space-624px
  7. space-832px
  8. space-1040px
  9. space-1248px
  10. space-1664px
TokenValueUse
space-1--space-14pxGap between an icon and its label.
space-2--space-28pxPadding inside small controls; gap between related items.
space-3--space-312pxGap between form fields in a row.
space-4--space-416pxCard padding on mobile; gap between form fields.
space-5--space-520pxPage gutter on mobile.
space-6--space-624pxCard padding on desktop.
space-8--space-832pxGap between page sections.
space-10--space-1040pxGap between large dashboard sections.
space-12--space-1248pxTop spacing of a page header.
space-16--space-1664pxSpacing around hero blocks.

In Tailwind v4 the base unit is --spacing: 4px, so p-4 is 16px, the same as space-4.