Product Design Glossary

What are design tokens?

Also known as Design variables, Tokens

Design tokens are the smallest visual decisions of a product stored as named variables, such as colors, font sizes, spacing, radii and shadows.

In detail

Instead of using the raw value (#0A6CC9, 16px), the team uses the name (color-primary, space-3). Changing a color across the whole product becomes a change in a single place, and design and code start sharing the same vocabulary.

Tokens usually come in layers: primitives (the raw palette) and semantic tokens (background-color, error-color) that point to the primitives. The semantic layer is what lets you have light and dark themes without redesigning anything.

In practice

Related terms