Memorisely

Design tokens

Spacing

From space-0 and space-1 up to 96. Layout, padding, and gaps only use this ramp.

Buy now

Primitive tokens

  • Space 00px
  • Space 11px
  • Space 22px
  • Space 44px
  • Space 88px
  • Space 1212px
  • Space 1616px
  • Space 2020px
  • Space 2424px
  • Space 3232px
  • Space 4040px
  • Space 4848px
  • Space 6464px
  • Space 8080px
  • Space 9696px

space-12

Every gap and every padding value is a step on this ramp. A button uses 8 by 16. The space between two buttons is 12. A section uses 48.

If a layout needs a size that is not on the ramp, the layout is wrong, not the ramp.

Tokens

TokenValue
--space-00px
--space-11px
--space-22px
--space-44px
--space-88px
--space-1212px
--space-1616px
--space-2424px
--space-4848px
--space-9696px

Code

.actions {
  display: flex;
  gap: var(--space-12);
}

.button {
  padding: var(--space-8) var(--space-16);
}

Included

  • space-0 and space-1, then 2 through 96
  • Button padding and the gap between actions
  • No off-ramp spacing