Skip to content
BENIBIX Learn

Design Token

Design📐 Design StandardsTokens and Themes

Also known as Design Tokens, Style Token, Token (Design)

A name for one design choice, like a brand color. Design and code share it.

Think of it like

It is like a nickname for a color. Change who the nickname points to, and every use changes.

Example

The brand blue changes. The team updates one token, and the website, iPhone app and Android app all turn the new blue.

Why it matters

One change in one place reaches every product, so the brand never drifts.

Definition

A design token is a named value for one design choice, like a color, a font size or a spacing step. A team does not write #2563eb in a hundred places. It writes one name for the main color instead. The token is stored once and shared by the design files and the code on every platform. Change the token, and every screen that uses it updates.

Example code

css
:root {
  --color-primary: #2563eb;
  --space-2: 8px;
}
.button { background: var(--color-primary); }
In CSS a token is often a custom property. Parts use the name, never the raw value.
Each tier points to the one before it, so a change flows down to every part.

Common mistake

Naming tokens after their value, like blue-500 for a button. Name the job, then the value can change.

Key takeaways

  1. 1
    A name for a value. Color, size, space.
  2. 2
    Stored once. Shared by design and code.
  3. 3
    Change once. Updates everywhere.