Menu

Foundations

Spacing

A 4px base, but only six steps are ever used. Sections breathe at 64, cards at 20, and related things sit 8 to 12 apart. Constraint is the point: fewer choices, faster decisions, consistent result.

The rhythm

  • gap-28pxIcon to label, chip to chip
  • gap-312pxButtons in a row, list items
  • mt-416pxInside a card, between blocks
  • p-520pxCard padding, the default
  • mt-1040pxHeader to first section
  • mt-1664pxBetween sections

Utilities, not tokens. Spacing is Tailwind's stock scale, so there is no spacing variable to read: a step is a utility on the element, and the constraint is which six of them the site uses.

In a card

The default card, with the steps it is built from marked on it.

Kicker

A title eight pixels under it

Sixteen pixels between blocks inside the card, twenty from its edge.

gap-3betweenthese