Skip to content

Design systems as architecture

A design system is a shared set of design decisions and the code that implements them: design tokens (colors, spacing, typography), components (buttons, form fields, dialogs, tables), patterns for common tasks, and the documentation and governance that keep them consistent. When many teams build interfaces, the design system is architecture: a shared platform with consumers, versions, contracts and an owner.

Done well, it lets teams build faster and makes the product consistent and accessible by default. Done badly, it’s a component library nobody upgrades.

The layers of a design system1. Tokens hold the basic design decisions; components are built from them. 2. Components are released as versioned packages for each platform the products use. 3. Product teams consume the packages and the documentation. 4. Teams contribute improvements back through an agreed process. Design tokenscolor, type, spacing Componentsaccessible by default Patternsforms, tables, flows Documentationusage, do and don't Versioned packagesper platform Product teamsconsume and contribute123contributions4
The layers of a design system Tokens feed components, which feed patterns. Products consume versioned packages, and changes flow through releases.
  1. Tokens hold the basic design decisions; components are built from them.
  2. Components are released as versioned packages for each platform the products use.
  3. Product teams consume the packages and the documentation.
  4. Teams contribute improvements back through an agreed process.
  • Tokens as the single source. Store design decisions as tokens in a platform-neutral format, and generate CSS variables, iOS and Android values from them. Rebranding or adding dark mode then changes tokens, not hundreds of components. The W3C Design Tokens Community Group (opens in a new tab) defines a common format.
  • Which platforms. Web frameworks, iOS and Android each need implementations. Decide which are first-class and which get tokens only.
  • Framework choice. Components built for one web framework lock consumers to it. Web components are framework-neutral but have their own trade-offs. Many systems ship for one main framework plus tokens and CSS for the rest.
  • Versioning. Semantic versioning, changelogs and deprecation periods, like any shared API. Breaking changes need codemods or migration guides.
  • Accessibility built in. Keyboard support, focus management, ARIA roles and contrast in every component, tested automatically and manually. Teams using the components inherit it; this is one of the system’s biggest benefits.
  • A small core team owns the system as a product, with a roadmap, support and measurement of adoption.
  • Contribution from product teams through a clear process, so the system doesn’t become a bottleneck.
  • Adoption measured, for example by the share of UI built from system components and the versions in use.
  • Escape hatches: teams can build what the system doesn’t cover, and propose it back when it’s proven.
  • Faster delivery: teams assemble interfaces from tested parts.
  • Consistency across products and platforms.
  • Accessibility and brand changes applied once, everywhere.
  • Real ongoing cost: a design system is never finished.
  • A central team can slow product teams if contribution is hard.
  • Old versions linger in products that never upgrade.
  • A Figma library with no code, or code with no design source, which drift apart.
  • Components too rigid for real needs, so teams fork them.
  • No deprecation path, so every product runs a different version.
  • Treating it as a side project instead of a product with an owner.

Written and edited by Abhinav Taduka, enterprise software architect.