I'm always excited to take on new projects and collaborate with innovative minds.

Phone Number

+62 822 1665 0798

Email

yusaliano@gmail.com

LinkedIn

linkedin.com/in/yusaliano

Address

Magelang, Indonesia

Social

Design Tokens

Design Tokens Explained: A Designer's Guide

What design tokens are, the main types you will use, and how to name them so the system holds up as it grows.

Design tokens mapping color and spacing values to a UI

A design token is a named value that stores a single design decision, like a color, spacing step, or font size. Instead of hard-coding #6C5CE7 in fifty places, you reference color-primary. Change the token once and every screen that uses it updates. Tokens are the shared language between your design tool and your code.

Why tokens matter

Tokens solve the oldest problem in design systems: the same value drifting out of sync across tools. When a designer picks a color in Figma and an engineer types a hex code by hand, the two slowly diverge. A token is the single source for that value, so the design file, the CSS, the iOS build, and the Android build all read from the same place. Themes, dark mode, and rebrands stop being find-and-replace marathons.

The three levels of tokens

Most mature systems organize tokens into three tiers. Each tier references the one above it.

Tier Also called Example Purpose
Global Primitive, base purple-500 = #6C5CE7 The raw palette of every value the system knows
Alias Semantic color-primary = purple-500 Gives a value meaning and intent
Component Scoped button-bg = color-primary Maps a semantic token to a specific component

The payoff of this layering shows up at theme time. Switch color-primary from purple to teal, and every component token that points to it follows, without touching a single component.

Common token categories

  • Color: backgrounds, text, borders, states, and feedback.
  • Typography: font family, size, weight, line height, letter spacing.
  • Spacing: a consistent scale for padding, margin, and gaps.
  • Radius and border: corner rounding and stroke widths.
  • Elevation: shadows and layering.
  • Motion: durations and easing curves.

Naming tokens so they scale

Naming is where most token systems quietly fall apart. A few rules keep them legible:

  1. Name by intent, not appearance. color-danger survives a rebrand; color-red does not.
  2. Use a consistent structure, like category-property-variant-state.
  3. Keep global tokens out of components. Components reference semantic tokens only.
  4. Avoid baking platform details into names. The same token should work on web and native.

Tokens are the foundation layer of a component library. If that connection is fuzzy, read Design System vs Component Library vs Style Guide.

Frequently asked questions

Are design tokens just variables?

Technically they are variables, but the value is in the discipline around them: a shared naming system, tiers that reference each other, and one source that feeds every platform. The variable is the mechanism; the token is the agreement.

Do I need a tool to manage tokens?

Small systems run fine on native variables in Figma and CSS custom properties. Once you support multiple platforms or themes, a tokens pipeline that exports to each target saves real time.

What is the W3C Design Tokens format?

It is a community standard for describing tokens as structured data, so tools can read and exchange them. Adopting it keeps your tokens portable between design and build tools as both evolve.

Want a token system that survives a rebrand?

I set up token structures that connect Figma to code and hold up across themes and platforms. Take a look at the work to see it in context.

See my work
6 mins to read
Last updated: May 28, 2026

Related posts

View all
What Is a Design System? A Practical Guide for 2026 Design Systems
June 12, 2026 • 8 min read
What Is a Design System? A Practical Guide for 2026

What a design system contains, why teams build one, and when you actually need it.

Design System vs Component Library vs Style Guide Design Systems
June 5, 2026 • 7 min read
Design System vs Component Library vs Style Guide

What each one is, how they relate, and which you actually need right now.

How to Build a Design System in Figma (Step by Step) Figma
May 20, 2026 • 9 min read
How to Build a Design System in Figma (Step by Step)

A practical walkthrough from foundations to published, versioned libraries.

+

Years of

Experience

+

Projects

Finished

+

Unique

Clients Served

+

Client

Nationalities

See it in practice

Want to see what I can do?

Reading about it is one thing. Take a look at the products, design systems, and interfaces I've actually shipped, then decide if we're a fit.

View my work

Like what you see? You'll find how to reach me on the work page and in the menu.