primitiv.es/space

Space

Spacing is a system of intervals, not a pile of unrelated gaps.

Three instruments for a measured ramp, physical padding and margin, and tokens copied to CSS, JSON or Tailwind CSS v3.

  1. 01ScaleA spacing scale with sized examplesYou need consistent intervals but every gap has a different value/space/scale
  2. 02InsetPadding and margin applied to a cardThe four sides of a card no longer agree/space/inset
  3. 03TokensSpacing values as CSS or configurationThe scale in a design file does not match the values in code/space/tokens