Skip to main content

Design Tokens

UI Design

What are Design Tokens

Design tokens are named values that store design decisions, such as colors, spacing and type sizes. Design tools and code read the same tokens, so a change in one place reaches every product that uses it.

Types of Design Tokens

Many teams use three tiers:

  • Base tokens: Raw values, such as a specific blue
  • Semantic tokens: The intent of a value, such as the color for error text
  • Component tokens: Values for one component, such as a button background

How Design Tokens work

Tokens are stored as platform-neutral data. Tools such as Style Dictionary turn them into CSS variables, iOS values or Android resources. In Figma, variables can hold tokens. For theming, a semantic token gets a different value in light and dark mode.

Why Design Tokens matter

Tokens keep a design system consistent across platforms and make theming simpler. The W3C Design Tokens Community Group published a stable format in October 2025.

Frequently asked questions

What is the difference between design tokens and CSS variables?

Design tokens are platform-neutral data that store design decisions. CSS custom properties are one possible output of tokens. The same token can also become an iOS or Android value.

What are semantic design tokens?

Semantic tokens name the intent of a value, such as a text color for errors, instead of the raw value. They usually point to base tokens and sit below component tokens.

Is there a standard format for design tokens?

Yes. The W3C Design Tokens Community Group published the first stable version of its specification, 2025.10, in October 2025. Figma, Adobe, Sketch, Penpot and Style Dictionary are among the adopters.