Design systems: components, patterns and a shared language

A design system lets a team stop redrawing the same button. It is the components, the rules for using them, and the shared names for both.

By Priya Calder · Checked · 9 min read

In short

Design systems give teams shared standards, reusable components and guidance for combining them. A useful system connects those decisions to the working product and explains how changes are reviewed.

As products grow to hundreds or thousands of screens, the same decisions get made again and again: what a button looks like, how an error appears, how much space sits between a heading and a paragraph. A design system makes those decisions once.

What is in one

  • A style guide: colour, type, spacing, icons, the voice of the words.
  • A component library: the reusable parts, buttons, form fields, cards, menus, in design files and in code.
  • Patterns: how components combine for common tasks, such as a sign-up form or a search results page.

Why teams build them

Nielsen Norman Group lists the benefits: designs can be built quickly from ready-made components; designers spend less time on the look of simple elements and more on harder problems such as information priority and workflow; and a shared language cuts the time lost to miscommunication, so that what a particular menu is called, and how it behaves, is never up for debate. They also keep products looking consistent when teams work separately.

Design systems and AI tools

AI tools that generate interfaces work far better with a design system to draw from: the output uses your components instead of inventing new ones. When choosing one of the AI UI tools, check whether it can work from your own components. Build the contrast rules in once, too: if every text colour in the system passes the contrast check, every screen built from it starts in a good place.

Foundations, components and patterns solve different problems

Consider a hypothetical service where a customer changes a delivery address. The foundations define the text styles, spacing, colours and other shared decisions. Components provide the reusable input, label, button and message. The address-change pattern explains how those parts work together: finding the current address, editing it, reviewing the change and confirming the result.

A library of attractive buttons does not decide that journey. A workflow diagram does not define every button state. Keeping those layers distinct makes it easier to identify which kind of decision is missing.

Layer Example in an address change A useful question
Foundation The standard body-text style Is the same role presented consistently?
Token A named colour for an error message Can the value change without finding every individual use?
Component A text field with a label and error state What states and behaviours does the reusable part support?
Pattern Review an address before confirming it How do the parts help someone complete this task?
Content guidance Explain which address will change Do the words make the consequence clear?

These are illustrative roles, not a requirement to use those exact names in every team. Choose a vocabulary people can use accurately when discussing a real screen.

Start with an inventory of repeated decisions

Before building a large library, inspect the product's actual tasks and screens. List the places where the same decision appears repeatedly: entering information, moving between steps, finding a record, confirming an action and recovering from an error.

For each occurrence, record what is shared and what differs. Two boxes may look identical while doing different jobs. Two visually different buttons may perform the same action because different teams styled them independently. An inventory helps separate a useful shared component from an accidental resemblance.

A practical first pass might collect the fields, buttons and messages used in three important journeys. It need not redraw the entire product. Record the existing variants and the reason for each, including whether that reason is known. An unexplained difference is a question to investigate, not immediate proof that one version must be deleted.

Prioritise a repeated problem that a team can finish and use. A field component with documented labels, help and errors may be more useful than an extensive colour catalogue that no working screen follows. The right starting point depends on what is repeated and where inconsistency causes trouble.

A component needs more than a picture

A design-file specimen shows one appearance. A working component also needs an agreed purpose, supported states and behaviour. Its documentation should make those decisions visible to the people who design, write, build and check the interface.

For a text field, consider the following record:

Part of the record What to describe
Purpose The kind of information the component is intended to collect
Label How the field is identified and what the label should communicate
Help When extra explanation is needed and where it appears
States Empty, filled, focused, invalid, disabled and any other supported state
Errors What the person can do to resolve a specific problem
Constraints Supported sizes, formats and situations where another component is needed
Examples A normal use and a realistic awkward case

That record does not automatically create an accessible field. It gives a reviewer something concrete to inspect and a builder a behaviour to implement. Compare the actual implementation with the documented expectation, including the states a tidy design-file example may omit.

Keep examples realistic. A label such as “Your details” may fit almost anywhere and explain almost nothing. An example asking for a delivery postcode makes it easier to discuss accepted input, useful help and an understandable error. Label invented examples as examples rather than presenting them as observed customer problems.

Names should describe a role

A name such as “error text” explains an intended role. A name such as “red 600” describes a colour step. Both can have a place, but they answer different questions. Decide which names a product author should use and which belong to the underlying palette.

For example, a team might use one named role for the text of an error message and another for the background of its container. Those values form a pair that needs checking together. Changing one value can affect contrast even if its individual colour still belongs to the approved palette.

The same reasoning applies to spacing and type. A name should help someone choose the right option for the task. A long list of near-identical values with no guidance can reproduce the original inconsistency inside the library itself.

Document the decision and its intended use rather than claiming a naming convention solves every design problem. A system can have carefully organised tokens and still present a confusing journey. Shared values support decisions; they do not replace understanding the person and the task.

Accessibility belongs in the implemented states

Include accessibility checks in component work, then inspect the component in a complete page. A contrast result for a default colour pair does not cover every state, background or combination of components.

For the address example, check the field label, help, error message and visible focus treatment in their actual context. Check whether an error is communicated clearly and whether the person can identify what needs changing. Review the interaction using the relevant input methods, rather than assuming a visually convincing specimen establishes usable behaviour.

Our colour contrast checker can calculate a pair of opaque colours. It cannot certify a component or inspect all of its keyboard and screen-reader behaviour. Keep that limitation explicit when attaching a result to a component record.

A reusable component can reduce repeated work, but it can also repeat a mistake. If a problem is discovered, identify where the affected version is used, correct it and verify the relevant screens. Updating a design-file example alone does not show that the working product changed.

Decide how changes enter the system

A team needs a way to propose an addition, explain the problem and assess whether an existing part already solves it. Without that, every product exception can become another permanent component with overlapping responsibilities.

The GOV.UK Design System publishes contribution criteria, providing one public example of a system that evaluates proposed components and patterns against stated expectations. Its criteria are specific to that system; borrowing the idea of explicit criteria does not make a different library approved by GOV.UK.

For a smaller team, a proposal can still be concrete: show the task, the current difficulty, the proposed behaviour, the existing alternatives and the evidence needed to choose between them. Include the person responsible for the decision and the expected next step.

An exception may be justified. Explain why the shared component does not meet the requirement, where the exception applies and whether the team expects it to become reusable. An unexplained copy is hard to maintain; a documented exception can be assessed without pretending that every screen must be identical.

Keep design guidance and code connected

A component name in a design file should lead a builder to the corresponding implementation and its documentation. If the design and code use different names or support different states, record that difference and resolve it before treating them as the same component.

Consider an example where a design library shows an inline error but the code component can display only a summary at the top of a page. A reviewer cannot establish the intended experience by checking either artefact alone. The team needs to decide the behaviour, update the relevant implementation and check the complete form.

Keep a record of meaningful changes and the versions used by consuming screens. Explain when a change requires a product team to do something. A newly published library version does not prove that every application has adopted it.

Retiring a component also needs a path for the places that still use it. Identify the replacement, explain any behaviour changes and verify the affected journeys. Removing a specimen from a library is not evidence that the old implementation disappeared from the product.

A worked review of one address field

For the hypothetical address-change journey, begin with a blank form, then try a realistic valid address, a missing required field and an address that needs correction. Include a long name or address rather than using only short placeholder text. These cases are review inputs, not findings from a study.

Record whether the current component supports the required label, help and error states. Then inspect the full journey: can the customer distinguish the existing address from the proposed new one, review the consequence and identify whether the change succeeded?

If the field works but the confirmation is ambiguous, the problem may belong to the pattern or content guidance rather than the input component. If text is clipped in every use of the field, the repeated component deserves investigation. Locating the problem at the right layer helps avoid rebuilding a whole system to fix one journey.

After a repair, repeat the affected cases in the working interface. A corrected mockup is a proposal until the product behaves accordingly. Use user testing when you need evidence about how people understand and complete the task.

Where AI-generated interfaces fit

Give a generation tool the actual component guidance and inspect whether its output follows it. Ask which components it used, what states are implemented and what it invented. A screen can resemble the design system while using independent markup or behaviours that will not receive future component updates.

The same applies to text and layouts. A generated address form may look consistent while asking for the wrong information or presenting an unclear consequence. Review the complete task with the system's rules, then verify the working output rather than accepting a visual similarity as proof.

Keep generated additions subject to the same proposal and review process as other additions. A tool producing a component quickly does not establish that the team needs another variant. See the AI UI design tools comparison for the distinction between design output, prototypes and working applications.

Sources

  1. GOV.UK Design System, Contribution criteria
  2. Design systems 101, Therese Fessenden, Nielsen Norman Group

Verified against these sources on 15 October 2026. Notice an error? Read the about page.

Read next