A design system is a shared set of rules and ready-made parts that keeps every page looking and working the same. Here is what goes in one and how to start small.
A design system is a shared set of design rules, reusable components and usage guidance that keeps a website or product consistent as more people and pages are added. It answers questions such as which blue to use, how big a button should be and what an error message looks like, so nobody has to decide again. For a large product it is close to essential. For a small site, a short written style guide may be all you need.
What goes in a design system
Foundations. The basic decisions: colors, type sizes and fonts, spacing, corner radius, shadows and breakpoints. In code these are stored as design tokens, such as CSS variables, so a change in one place updates everywhere. Tokens also make light and dark themes much easier to manage.
Components. The reusable building blocks: buttons, form fields, cards, navigation, modals, tables. Each one is defined with its states, such as hover, focus, disabled and error.
Patterns. Combinations of components that solve a recurring problem: a sign-up form, a search results page, a pricing table.
Guidelines. Written advice on when to use each piece, along with tone of voice, writing rules and accessibility requirements.
Why it pays off
- Consistency. Visitors learn your interface once and trust it everywhere.
- Speed. New pages are assembled from existing parts instead of designed and coded from scratch.
- Accessibility built in. If the button component has a visible focus state and enough contrast, every button does.
- Easier handover. New designers, developers and agencies can follow the rules instead of guessing.
- Lower cost of change. Updating a brand color or a layout is a quick edit instead of a hunt through hundreds of pages.
Do you need one?
Signs that you do:
- The site has dozens of pages built over time, and no two buttons look the same.
- Several people or agencies work on the same site.
- You maintain more than one site or product that should feel related.
- Every new page takes as long as the first.
If you have a ten-page site and one person looking after it, you need a brief style guide: colors, fonts, button styles and spacing rules in one page. That already delivers most of the benefit.
How to start without overbuilding
- Take an inventory. Collect screenshots of every button, heading, form and card on the site. Seeing nine different grays side by side is a good argument for change.
- Set the foundations. Choose one set of colors, type sizes and spacing steps, and name them clearly.
- Build the ten components you use most. Buttons, inputs, cards and navigation cover most pages.
- Document each with an example and a rule. One sentence on when to use it, and one on when not to.
- Adopt it page by page. Apply the system to new work first, and replace old pieces as pages are touched.
- Give someone ownership. A system without an owner drifts within months.
Our own site runs on a written design system. It holds the brand rules (colors, type, spacing, corner radius, buttons), a library of ready-made components, and the rule that every new style needs a dark-mode version. Styles for each part of the site share a short prefix, one for the service pages and another for the blog, so a change in one place does not leak into another.
Tools
Designers usually keep the source in Figma, with variables for tokens and a component library. On the code side, a stylesheet with CSS custom properties is enough for many sites, and tools such as Storybook let developers browse and test components. The tool matters far less than the discipline of using the system and keeping it current.
Mistakes to avoid
- Trying to build everything first. Systems grow from real needs. Start small and add pieces when a page needs them.
- Documentation that is out of date. A wrong rule is worse than none.
- No accessibility rules. Build contrast, focus and keyboard behavior into the components, as described in our guide to WCAG 2.2 for designers.
- Treating it as a one-off project. It needs a few hours of attention each month.
A design system also helps performance and testing, since consistent parts are easier to optimize, as covered in website speed optimization. If your site has grown messy and you want a plan for tidying it, our website development team can help set one up.
Frequently asked questions
What is the difference between a style guide and a design system?
A style guide documents visual rules such as colors, fonts and logo use. A design system includes that and adds reusable coded components, patterns and usage guidance, so teams can build pages from shared parts.
Does a small business need a design system?
Usually a short style guide is enough. A full design system pays off when several people work on the site, there are many pages or products, and consistency is slipping.
How long does it take to build a design system?
A useful starting version, covering foundations and the ten most used components, can be built in a few weeks. A mature system keeps growing and needs regular maintenance.
What are design tokens?
Design tokens are named values for decisions such as colors, spacing and type sizes, stored in one place. Changing a token updates every component that uses it, which makes theming and rebrands much easier.