03.3.6 · Skill in UI design

Design systems

Reusable components and rules that keep an interface consistent.

A design system collects tokens, components and usage guidelines in one place. It speeds up building and keeps the product coherent as it grows. Engineers usually maintain the code side of it, so they shape how well it works.

Your status · Design systems

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

Why it matters for a product engineer

A design system turns design decisions into code that everyone reuses: colours, spacing, type, components and the rules for using them. It makes building faster and keeps the product consistent as it grows. Engineers usually own the code side, so the quality of the system depends on them. Today it also guides AI agents that write interface code, if the rules are written where they can read them.

How to do it

  1. Start from what the product already repeats. Collect the colours, sizes and components in use, and remove the near-duplicates.
  2. Define tokens first: colour, space, type, radius, motion. Components use tokens, never raw values.
  3. Build the components the product needs now. Each one has its states: empty, loading, error, disabled.
  4. Write the rules next to the components: when to use each one, and the words to use and avoid.
  5. Make the rules checkable. A linter or a script that fails on a raw colour does more than a page of guidelines.
  6. Put the rules where agents read them too, such as the repository’s instructions, so generated code follows the system.

Common mistakes

  • Building a big library before the product needs it.
  • Components without their states, so each screen invents its own error.
  • A design file and a code library that slowly drift apart.
  • Rules nobody can find, or that nothing checks.
  • Treating the system as finished. It changes with the product.

Example

RelievApp moved from a dark, serious look to flat colour and round shapes, so people would be happy to share it. Its rules are written for people and for agents: ten colours and no others, each with a meaning; one gesture per phase; nothing can be failed. Even the words have rules, such as no engine words like “particles”, and a script checks them. Lev, the mascot, is the one character. (RelievApp in In practice)

Screen

The front door at launch and on 18 November

Two phone screens side by side. Left, 14 October: a glowing sphere in a dark nebula and the headline Transition from distracted to focused. Right, 18 November: an iris blue page, Whatever you feel, feel better, and a deck of session cards
  1. 114 Oct: dark, a glass sphere, a category of its own.
  2. 218 Nov: flat colour, round shapes, a deck of sessions.

The right screen follows written rules: ten colours with a meaning each, one gesture per phase, and words a script checks.

Sources: Atomic design (Brad Frost) ↗

In practice

Real products

Resources

1
  • bookGo deeper
    Atomic design ↗
    Brad Frost · 2016 · free online book

    The book that shaped how teams build design systems, free to read online.

Tools

2
  • ToolOpen source
    Storybook

    Open-source workshop for building, documenting and testing UI components in isolation.

  • ToolFreemium
    Figma

    Collaborative interface design and prototyping in the browser, the industry default.