Learning Design Systems Course index

Reference 0002

Token Ladder

A compact way to name design decisions from raw value to product meaning to component behavior.

LayerExampleUse when…Avoid when…
Primitiveblue.600
space.16
You are defining raw palette, scale, or base material.You are styling product UI directly.
Semanticcolor.text.danger
space.stack.md
You are naming product meaning independent of one component.The meaning only exists inside one component.
Componentbutton.primary.bg
alert.error.border
You are defining a component-specific decision or state.The same meaning should apply across many components.

Naming test

A good token name should survive a redesign. If the color changes from red to orange, color.text.danger still makes sense; red.600 may not.

Backend analogy