Design Token

Design Systems

What is Design Token?

A design token is a named value, such as a color, font size, spacing step or radius, stored in one place and reused in design files and code so the whole product stays consistent.

Instead of hard-coding "#4F46E5" or "16px" in many places, teams define tokens like color.primary or space.4 and reference them everywhere. Tokens are often layered: base tokens hold raw values, and semantic tokens (color.text.muted, color.background.danger) describe intent and point to base tokens.

Why tokens matter for SaaS products

  • Theming and [dark mode](/glossary/dark-mode): switching a set of semantic tokens re-themes every screen.
  • White-labelling: B2B SaaS products can apply a customer's brand color through tokens.
  • Consistency: spacing and type scales stay uniform across teams and platforms.
  • Faster change: a brand refresh becomes a token update rather than a hunt through files.

Where tokens show up in real UI

Look at the consistent spacing and color usage across settings patterns, dashboards and forms. Appearance settings that let users pick a theme or accent color, common in tools such as Linear and Notion, are a visible result of a token system.

Getting started

Extract the colors, font sizes and spacing values already used in your product, collapse near-duplicates into a scale, and name them by purpose. Tokens pair naturally with a component library and Figma variables; see also SaaS design system examples.

See “Design Token” in Real SaaS Products

Related Terms