← All work
Design systemsComponent designDocumentation

Design system · Multi-module web product

One way to build,
and how not to.

I owned the design system for a multi-module product: the foundations, 33 documented components with 1,279 variants and 49 design tokens underneath them, and the guidance that told designers when to use each one, and when not to.

My roleDesign system owner
Team6 designers
Timeline2 weeks
ToolFigma
100%adoption across the design team
33components documented
1,279component variants, across every state
49design tokens in 6 families

A product that grows by module needs a shared language.

The product was made of several modules, and each one needed the same buttons, inputs, cards and feedback. Without a shared system, every designer would answer the same questions again, and the answers would drift apart.

I was responsible for the whole system: the foundations, the components, the rules for using them, and how the library was organised and managed in Figma so that the team would actually reach for it.

Organised by what designers are trying to do.

Every component has its own documentation page. Rather than sorting those pages by shape, I grouped them into four sections by the job each component does in an interface. A designer building a form looks in one place; a designer showing the result of an action looks in another. A separate Tokens page holds the foundations underneath all of them.

Tokens that read the same in design and in code.

Every foundation is a named token, written the way a developer would write it: $spacing-xl, $border-radius-md, $shadow-level-2. A designer picking a value in Figma and an engineer reading the stylesheet are looking at the same word.

Each foundation page also carries a short list of best practices for designers. The scale tells you what exists; the guidance tells you how to choose between the steps. Pick a family below to explore it.

Card: the component every module depends on.

Of all the components, Card was the one that would become core to the product. The documentation describes it as the soul of the product: it appears, in varied forms, in every module, to group related information in an organised and visually distinct way.

That reach is what made it different. A Card can change in size, style and complexity, but it has to keep a basic structure, or each module ends up with its own version. So the guidance focuses on holding that structure steady while the content changes around it.

Anatomy

  1. 1
    Header

    Context at a glance. A small label and one status, so a page of cards can be scanned without opening any of them.

  2. 2
    Content

    The only part that changes. Text, an image, a number or a person, as long as it fits the zone.

  3. 3
    Action

    One primary action, always in the same place, so people learn where to click once and keep it.

  4. 4
    Surface

    Radius, border and shadow come from tokens. They are never drawn by hand, so every module's card looks related.

Use a Card to

  • Organise visually. Group related content in a grid or list layout.
  • Focus on items. Give individual products, images or tasks their own space.

Don't use a Card for

  • Very long content or full navigation. Use a new page.
  • Non-critical messages. When the action or message isn't critical, show it inline in the interface.

Every component answers two questions: when to use it, and when not to.

A library of components is only as consistent as the way people use them. So every component page follows the same template, in the same order: an overview, when to use it, when not to, a numbered anatomy, paired Do and Don't examples, and what can be customised, plus an accessibility note.

Below are six of the 33 component pages, rebuilt in English from the original Figma documentation. Switch between them with the list (or the arrow keys), try the live examples, and hover an anatomy note to find that part.

A library people can find their way around.

Findable by task

A page for every component, filed by task

All 33 components have their own page, sorted into four sections: navigation and structure, data entry and forms, user feedback, and information display. The file follows the way a designer thinks about a screen.

Predictable

The same page, every time

Because every component page uses one template, a designer who has read one page knows where to look on all 33. Foundations use the same structure, with the same tabs.

Built from its own parts

The documentation uses the system

Token swatches in the Tokens page are instances of a Spacing Token component, not drawings of one. The file demonstrates the habit it asks designers to follow.

Aligned with code

One vocabulary for design and engineering

Tokens carry code-style names such as $spacing-xl, and every page has Code and Playground tabs beside the Design tab.

Accessible by default, not fixed by audit.

A design system is the cheapest place to get accessibility right, because one decision is repeated in every screen. A focus ring, a contrast ratio or an announced state defined once in a component reaches every module that uses it. Defined late, it has to be patched screen by screen.

So I treat WCAG 2.2 as part of each component's specification, next to spacing and colour. Each of the six component pages above now has an Accessibility note. Below is the part that is easiest to miss: states. Start with the Accordion from the core components file, then try a button, a field, a checkbox and a switch, and watch what changes for someone using a keyboard or VoiceOver.

Default background

On color

VoiceOver says, roughly

What the file specifies

What to check against WCAG

Try it: pick a component, then a state, or use the controls themselves with the mouse or keyboard. Everything is a real, native control. The Accordion follows the core components file; the others show the states I would specify, and the ring colours are illustrative.

Where each concern lands in the design

1.4.3 · 1.4.11 · 1.4.1

Colour and contrast

Text 4.5:1, icons and control borders 3:1, and no meaning carried by colour alone. Checked per token pair, in light, dark and on-colour surfaces.

2.1.1 · 2.4.7 · 2.4.11

Keyboard and focus

Every control reachable and operable by keyboard, a visible focus state in the spec, and focus that is never hidden behind a sticky header or a toast.

4.1.2 · 1.3.1

Name, role and state

What a screen reader hears: a meaningful name, the right role, and states such as expanded, current or disabled exposed as attributes rather than implied by icons.

2.5.8 · 1.4.10 · 1.4.12

Size, reflow and spacing

Targets of at least 24 × 24 px, content that reflows at 320 px without two-way scrolling, and layouts that survive larger text and custom text spacing.

4.1.3 · 2.2.1

Status and timing

Toasts, banners and loading states announced without stealing focus, with enough time to read them, and pausable.

2.3.1 · prefers-reduced-motion

Motion

No flashing, and every animation in the system has a calmer version for people who ask the operating system for less motion.

What I would add to every component page

The template already answers “when to use it, and when not to.” I would extend it with three things: a Focus-visible and Disabled row in the states table, an Accessibility note like the ones above, and a short keyboard map (which keys do what). None of this adds a new component. It makes the existing documentation answer one more question: who can use this, and how?

The whole team adopted it.

Adoption reached 100% on the design team. The result was fewer detached components and fewer inconsistencies across screens and modules.

I did not measure time saved, but the feedback from the team pointed to it.

From a set of components to a way of working.

I owned the system end to end: the foundations, the components, the core Card, the rules for using and not using each one, and the structure that made the library easy to manage and use in Figma.