ADVANCED · CHAPTER 24 OF 30

Design Tokens, Components & Governance

What is the difference between design tokens and components?

Tokens store reusable design values or semantic roles, such as spacing and action colours. Components combine values, content and behaviour into interface patterns. I connect both through documentation and governance so a change can be evaluated, adopted and maintained consistently.

We’ll build a small system for customer and staff interfaces, then specify a change process. I’ll focus on semantic naming and component contracts so the system can evolve without making every screen a special case.

From raw value to interface meaning. The chain shows an example token relationship. A token name describes intent; implementation must also define states, contrast and theme behaviour.
FIGURE A04 From raw value to interface meaning

The chain shows an example token relationship. A token name describes intent; implementation must also define states, contrast and theme behaviour.

Open full-size diagram ↗
  • Primitive: green.800 = #263D2B
  • Semantic: action.primary.background
  • Component: button.primary.background
  • Application: Confirm collection

How I structure the system

Primitive tokens store raw values, such as a colour or spacing unit. Semantic tokens assign purpose, such as text-primary or surface-warning. Component tokens can handle specific needs, such as button-primary-background. Start with the smallest structure that solves actual repetition.Reference: USWDS: design tokens

A component contract defines content, variants, states, behaviour, accessibility intent, and limits. A button is more than a coloured rectangle: it has a role, label, focus state, loading behaviour, and rules about when to use it.

Let’s build and document the system

  1. Audit the existing interface for repeated patterns and inconsistencies.
  2. Consolidate colour, type, spacing, radius, and elevation values.
  3. Name semantic roles so future changes do not require editing every asset manually.
  4. Build buttons, fields, cards, navigation, notices, and a data row or table.
  5. Define variants only where the use case requires them. Avoid creating every imaginable option.
  6. Document states, keyboard intent, responsive behaviour, and content limits.
  7. Build two different pages using the components and improve gaps discovered in context.
  8. Establish an owner, change log, review process, and a way to retire outdated components.

How I would approach this example

If the brand accent changes, updating a semantic action colour can update the intended buttons consistently. Error states should not change accidentally with the brand accent. Separate identity colour roles from functional feedback roles where their meanings differ.

For dark mode, map semantic roles to appropriate values rather than simply inverting all colours. Inspect imagery, contrast, elevation, and feedback states in both themes.

Your studio exercise

For this exercise, I want you to deliver a token sheet, six documented components, two assembled screens, and one change proposal. Include a migration note explaining what a teammate must update.

I would consider this exercise ready when a contributor can build a new screen with the system and understand when an exception requires discussion. AI can help draft documentation or identify duplication, but confirm that its rules match the actual components and implementation.

✦The brand note

One useful idea about building better brands.

A short weekly note on branding, logo design, UI/UX, visual identity and the real decisions that make a business clearer, more distinctive and easier to trust.