All articles
DesignNov 6, 2026· 2 min read

Named tokens, components with one job and every state drawn. How to keep a growing product consistent without slowing the team down.

Most products do not become inconsistent in one day. Somebody needs a slightly different blue, somebody copies a button and changes its padding, and a year later there are nine buttons. A design system is the agreement that stops this, and it can start very small.

Start with tokens

A token is a named decision: a color, a type size, a space or a radius. The name says what it is for, not what it looks like.

css:root {
  --fg: #ffffff;
  --fg-muted: #b8c4d6;
  --primary: #0b72e0;
  --radius-card: 20px;
}

When the code uses --fg-muted instead of a color value, a light theme becomes a second list of values, not a search through every screen. That is how the light and dark themes of this website work: the same components, two sets of values.

Give each component one job

A good component is easy to choose. Write one line for when to use it and one line for when not to:

  • Primary button: the main action of a view. One per view.
  • Outline button: an action that is useful but not the main one.
  • Link: goes to another page. It does not change data.

If two components need the same line, you probably need only one of them.

Draw every state

The normal state is the easy part. Screens feel unfinished because of the others:

  1. hover and keyboard focus,
  2. disabled, with a reason the user can find,
  3. loading, without a jump in the layout,
  4. empty, with a next step,
  5. error, with a way to try again.

Decide these once for each component and they are done for every screen.

Include direction and language

If the product may be used in Persian or Arabic, choose names such as start and end instead of left and right from the first day. Long words, different numbers and another reading direction are much cheaper to support early. We wrote more about that in building a website in Persian and English.

Motion is part of the system

Give durations and curves names too, and respect people who ask their device for less motion. Three durations are enough for most products.

Keep it small

A component belongs in the system when it is used in a third place. Before that, it is only part of a screen. Remove what nobody uses. A short system that people follow is better than a complete one that they avoid.

A first week plan

  • Day one: list the colors and type sizes in use, and cut the list in half.
  • Day two: name what is left as tokens.
  • Day three: pick the button, the input and the card, with every state.
  • Day four: replace the copies in the two busiest screens.
  • Day five: write the one page that says where all this lives.

Ready to Build Something Great?

Whether you’re launching a startup, building a product, or scaling an existing business, we can help bring your vision to life.

Start a project

Tell us about your idea. We usually reply within one business day.