Systems & motion

How to Build a Design System People Use

Nov 24, 2026·9 min read

Most design systems die not from bad components but from being a library nobody asked for. The ones that live are small, opinionated, and born from a real product's pain. This is how to build one people reach for instead of route around.

A system is decisions, not files

The single most useful reframing is this: a design system is a set of shared decisions, encoded. The Figma library and the component code are not the system — they are only where the decisions happen to be written down. The real artifact is agreement: that primary actions are one specific blue, that the default gap between stacked cards is 16px, that disabled controls never rely on color alone. Treat those as decisions rather than files and the whole effort stops being a tooling project and becomes a coordination one.

This matters because it tells you where the work actually is. A beautiful Figma file with no owner, no rationale, and no path into production is a mood board. A plain, slightly ugly set of tokens that three teams genuinely agree on and ship is a system. Optimize for the agreement — the files are downstream of it.

Start with an audit, not a blank canvas

Do not open a new Figma file and start designing the 'ideal' button. Start by auditing what already exists. Screenshot every button, input, card, modal, and empty state across your live product and paste them onto one enormous wall. This inventory is uncomfortable on purpose: you will typically find five to twelve 'blue' buttons, four corner radii that were all meant to be 'the rounded one', and spacing values that drift a pixel or two for no reason. The inconsistency is the business case. You are not inventing a system from theory; you are naming and consolidating decisions already made badly, in a hurry, many times.

An inventory also sets scope honestly. Count the real primitives and there are fewer than it feels like — maybe a dozen components carry 80% of your screens. Those you build first. Everything exotic can wait.

  • Screenshot in context, not in isolation — a button inside a crowded toolbar reveals spacing and alignment problems a lone swatch hides.
  • Group by intent ('things that submit a form'), not by current appearance, so you consolidate on purpose rather than on accident.
  • Record the raw values you find — every hex, radius, and pixel gap — because those become the seed list for your tokens.
  • Flag accessibility failures now: low-contrast text, color-only state, tap targets under 44px. These are decisions too.

Tokens in three tiers

Tokens are the atomic unit of a system, and the mistake almost everyone makes is to have exactly one tier of them — a flat list where 'blue500' is used directly in a button. Instead, structure tokens in three tiers. The primitive (or global) tier is raw, context-free values: color.blue.500 = #3B82F6, space.400 = 16px, radius.md = 8px. These describe what a value is, nothing about where it goes. The semantic (or alias) tier describes intent: color.bg.surface, color.text.subtle, color.border.default, color.accent.default. A semantic token points at a primitive but carries meaning — surface, text, border, accent — not a raw color.

The rule that makes this pay off: components consume only semantic tokens, never primitives. A button references color.accent.default, not color.blue.500. When that holds, theming and dark mode stop being a redesign and become a swap of the semantic layer. Dark mode is literally re-pointing color.bg.surface from a near-white primitive to a near-black one; every component inherits it for free because none of them ever touched the raw value. A third, optional tier — component-specific tokens like button.bg.primary — sits on top for the handful of cases where a component needs its own named hook, and still resolves down through the semantic layer.

  • Primitive: color.blue.500 = #3B82F6, space.400 = 16px, radius.md = 8px — raw, reusable, meaningless on their own.
  • Semantic: color.bg.surface, color.text.subtle, color.border.default, color.accent.default — intent, mapped onto primitives.
  • Component: button.bg.primary, button.text.primary — resolve through semantic tokens; use sparingly, only when a component truly needs its own hook.

Naming is the interface

Token and component names are a public API — once teams write them into code, renaming is a migration. Spend real effort here. Use a consistent category.role.variant pattern read left to right from general to specific: color.text.subtle, color.bg.surface, color.border.danger. For spacing and sizing, prefer an unambiguous numeric scale over t-shirt sizes where precision matters — space.400 = 16px scales predictably, whereas 'space.lg' invites a 'space.xxl' arms race. Keep radius on a small named ramp (radius.sm, radius.md, radius.lg, radius.full) because designers think in 'the rounded one', not in pixels.

Component APIs: expose intent, not switches

A component's props are its API, and the same left-to-right clarity applies. Expose a small, orthogonal set of dimensions — variant (primary, secondary, ghost), size (sm, md, lg), tone (neutral, danger, success), and state (default, hover, disabled, loading) — and let them combine. Resist the urge to add one boolean prop per special case. A Button with isPrimary, isSecondary, isGhost, isDanger, isSmall, and isLoading as separate booleans can be put into contradictory states, and is really two or three components wearing a trench coat. Collapse those booleans into enumerated variant and tone props the compiler and the human can both reason about.

Favor composition and slots over configuration. Instead of a Card with twenty props for every possible header, media, and footer arrangement, give it slots — Card.Header, Card.Body, Card.Footer — and let callers compose. Slots scale to layouts you never anticipated; a configuration prop only handles the cases you predicted. The test for a good component API: a new engineer can guess the prop names before reading the docs, and cannot easily construct an invalid combination.

  • Model dimensions, not flags: variant, size, tone, state — enumerated, combinable, mutually coherent.
  • If two booleans can never both be true, they are one enum wearing a disguise — merge them.
  • Reach for slots and composition whenever a component is accreting props for layout. Configuration predicts; composition adapts.
  • Keep the common case a one-liner and the complex case possible — defaults should cover the 80%.

One source of truth, design to code

The system fails the moment Figma and code disagree, because each team quietly trusts a different one and the 'system' forks in silence. Establish a single source of truth for tokens and map it both ways: Figma variables carry the same names and values as the code tokens, ideally generated from one shared source so a change in color.accent.default propagates to both the library and production in the same commit. Document the mapping explicitly — which Figma variable collection maps to which code token group — so a designer and an engineer pointing at the same token point at the same bytes.

Parity is also cultural. Track detached instances in Figma and overridden styles in code as defects, not normal workflow. Every detach is a designer saying the component did not fit; every one-off hex is an engineer saying the token did not exist. Those are your backlog, straight from the people using the thing.

Docs are the product; governance keeps it alive

For a design system, the documentation is the product. A component nobody understands is a component nobody adopts. For each component, ship more than a prop table: show usage with real examples, pair do and don't side by side, state plainly when NOT to use it (and what to use instead), and include accessibility notes — keyboard behavior, ARIA roles, contrast guarantees. The props table is the reference; the guidance changes behavior. A do/don't pair teaches a judgment call in two seconds that prose cannot in two paragraphs.

Then give the system a government, or it rots. Name a clear owner or small core team accountable for it. Define a contribution model: how anyone proposes a change, who reviews it, what bar it must clear (accessible, documented, tokenized) before it merges. Version with semver — breaking token or prop changes bump the major, additions the minor — and never silently delete; deprecate first, with a changelog entry, a migration note, and a grace period. Teams only trust a dependency they can upgrade without fear.

  1. Audit and inventory: screenshot the live product, wall it up, and let the inconsistency make the business case.
  2. Extract primitives: turn the raw hexes, radii, and gaps you found into the primitive token tier.
  3. Add the semantic layer: map intent — surface, text, border, accent — onto primitives, and mandate that components consume only these.
  4. Build the top dozen components: start with the highest-traffic ones (button, input, select, card, modal) that cover most screens.
  5. Prove it in one real product: ship the components inside a genuine feature in a shipping surface, never in a vacuum.
  6. Document as you go: usage, do/don't, when-not-to-use, accessibility notes, and a props table per component.
  7. Wire the source of truth: map Figma variables to code tokens so one change updates both.
  8. Set up governance and semver: name the owner, open the contribution path, and cut your first versioned release with a changelog.
  9. Instrument adoption: measure adoption %, detached instances, and overrides, then fix whatever the numbers say people are routing around.

Prove adoption; measure it

Adoption is won by usefulness, not mandate. Build the highest-traffic components first and prove them inside one real, shipping product before you evangelize anything. A system validated against a genuine feature earns trust; one built in a vacuum and announced in an all-hands earns polite nods and private forks. Make the paved path the easy path — if the system is slower or clunkier than hand-rolling, people will hand-roll, and they will be right.

Measure adoption honestly instead of assuming it. Track the share of screens built from system components (adoption %), the count of detached instances in Figma, and the number of overridden styles in code. Rising detaches and overrides are not user error — they are the system telling you where it does not fit, pointing directly at your next piece of work.

Common mistakes

  • Boiling the ocean: trying to ship every component and every edge case up front instead of the dozen that carry your screens.
  • System before product need: building the system in a vacuum with no real product pulling on it, so it fits nothing in particular.
  • No docs: shipping components without usage, do/don't, and accessibility guidance, so nobody trusts or adopts them.
  • Too rigid to love: locking down every prop until designers detach and engineers override just to get their actual job done.
  • No owner: leaving the system unowned, so changes stall, drift accumulates, and the whole thing quietly rots into a graveyard.

#systems#components#tokens

Want an interface that looks this considered?

Tell us about your project