Design Tokens
Named values for colour, spacing, type and more, shared between design and code.
See it on the 3D treeGoing deeper
A token pairs a name with a decision, so people refer to the name rather than a raw value. They are often layered: base tokens hold the palette and scales, semantic tokens describe purpose such as surface or danger, and component tokens cover specific parts. Tools can export them to each platform's format.
Why it matters
Changing one value can update many places, and designers and developers share a vocabulary instead of copying numbers by hand.
In practice
A button uses a token for its primary action colour, so adjusting the brand blue updates web and app without editing each screen.
Common mistake
Naming tokens only after their appearance, such as blue-500, then using them directly where a purpose-based name is needed.
Connected terms
- Corner RadiusRadius steps are often stored as shared named values.
- Design SystemTokens are the system's smallest shared decisions.
- HandoffDevelopers receive token names that match code instead of measuring raw values.
- RedlineAnnotating token names tells developers which shared value to use.
- ThemingA theme is largely a different set of values behind the same token names.
- White LabelBrand-specific values can be isolated as tokens that each customer overrides.
- Colour PalettePalette colours become the base values that other tokens refer to.
- Hex CodeA hex code is a raw value that a token gives a name.
- OKLCHA colour format that can hold token values and helps build even lightness steps.
- Semantic ColourPurpose-named colour tokens say what a colour is for, not which hue.
- Spacing SystemSpacing steps are stored as tokens so layouts use the same increments.
- Type ScaleFont sizes and line heights from the scale are commonly stored as tokens.