Memorisely

Design tokens

Elevation

Five levels. Rest, raised, overlay, dialog, and toast. Shadow is a token, not a one-off blur.

Buy now

Primitive tokens

  • Shadow 0none
  • Shadow 10 1px 2px rgba(0,0,0,0.06)
  • Shadow 20 4px 12px rgba(0,0,0,0.08)
  • Shadow 30 12px 32px rgba(0,0,0,0.12)
Publish

shadow-2

Elevation exists so designers, engineers, and AI start from the same decision. The preview on this page is the component as it ships. You compose it. You do not redraw it.

Use it when the job matches the name. Reach for a neighbour in the system when it does not. Names in Figma match the names in code, which is what keeps a prototype close to what actually ships.

Tokens

TokenValue
--elevation-bgvar(--background)
--elevation-fgvar(--foreground)
--elevation-bordervar(--border)
--radius-md10px
--duration-fast120ms

Code

:root {
  --shadow-rest: 0 1px 2px rgb(0 0 0 / 0.04);
  --shadow-overlay: 0 12px 32px rgb(0 0 0 / 0.12);
}

Included

  • Shadows
  • rest through overlay