A design system nobody can read is a pile of files: the colours are in one place, the button states live in someone’s head, and every new page invents its own rules. The written guide is what makes the system usable. Write down the decisions, document each component with its parts and its rules, and keep the guide where the work happens.
Write down the decisions, not just the values
Google’s Android Developers guide says a design system is a collection of reusable design decisions expressed as guidance, components, and patterns, and that the system can be broken down into smallest design primitives: things like color, type, or shape, which build into larger complex component pieces. For example, an icon and text label make up a button component, while multiple buttons and a surface make up a card. Design systems also come with a set of guidance composed of these existing design decisions around the components and patterns. The guide is the guidance: for each token, write its name and what it is for, not just its value, so a reader knows when to use it and what happens if they don’t.
Document each component with its parts and its rules
Google’s guide says Material Design provides components that are interactive building blocks for creating a user interface, organized into five categories based on their purpose: action, containment, navigation, selection, and text input. Action components help people achieve an aim; containment components hold information and actions; navigation components help people move through the product; selection components let people specify choices; text input components let people enter and edit text. For each component in your guide, show what it is made of, show every state and variant, and write the rule for when to use it and when not to. A component page with only the default state documents one fifth of the component.
Keep the guide where the work happens and keep it current
Put the guide in the same file or folder as the system itself, with the system name, the version, and the date on the cover, so a reader can tell at a glance whether they are reading the current guide. When a token or a component changes, change the guide in the same edit, and note the change in a short changelog at the end. A guide that describes last month’s system is worse than no guide, because it teaches the wrong rules with confidence. Check the guide against the files once a month: every token named in the guide must exist in the system, and every component in the system must have a page in the guide.
Practice check: fictional Maple Corner
The table below is fictional practice material, with fictional values. It is the expected result for the practice guide, worked out against Google’s Material Design component guide, not a run of any design tool. The fictional guide is Maple Corner’s design system guide, covering colour tokens, the button component, type styles, and the accent colour rule. Token names and uses are listed, not token values.
| Guide section | As shown | Result |
|---|---|---|
| Colour tokens | Primary and Accent named with their uses | Pass |
| Button component | Default state shown only | Fail — button shows the default state only; add hover and disabled states |
| Type styles | Styles listed without sizes | Fail — type styles have no sizes; add size and line height for each style |
| Accent colour rule | No written rule for the accent | Fail — accent has no usage rule; write when to use it and when not to |
One of the four checks passes, and three fail. The colour tokens are named with their uses, but the button shows only its default state, the type styles have no sizes, and the accent colour has no written rule. A reader following this guide would have to guess three times, which is what the guide exists to prevent.
Expected result. We checked Google’s Material Design component guide. We did not run Figma on the Maple Corner design system.
Limits
- No design tool was run on the Maple Corner design system, and Maple Corner is fictional. The table above is the expected result for the practice guide, not a test of any product.
- This guide covers writing design system documentation: decisions, components, and usage rules. It does not set the token values themselves; the values live in the system files, and the guide names them and says when to use them.
- It covers the design system structure Google’s guide describes. Other systems organize components differently; document the system you actually have.
- It does not cover code or developer handoff. A guide that helps designers still needs the values in a form developers can use; keep the code and the guide in step.
Sources
- Material Components — Android Developers — “A design system is a collection of reusable design decisions expressed as guidance, components, and patterns. The system can be broken down into smallest design primitives: things like color, type, or shape which build into larger complex component pieces.” “For example, an icon and text label make up a button component, while multiple buttons and a surface make up a card.” “Material Design provides an array of code-backed components that are interactive building blocks for creating a user interface. These components can be organized into five categories based on their purpose: action, containment, navigation, selection, and text input.”
