Product & Design
Plan, build, document and run a design system, from audit and tokens to components and governance.
A path for designers and front-end engineers building a design system: auditing existing UI, defining the design language and tokens, building accessible core components, setting up design and development tooling, and running the system as a product with its own community. Each subject links official documentation or reference systems.
The subjects follow the roadmap.sh Design System roadmap.
A design system is the shared source of truth for how a family of products looks, behaves and is built: tokens, components, patterns and the guidance around them, kept in sync between design files and code.
A product in its own right: reusable components and foundations, documentation of when and how to use them, and the people and process that maintain them.
Without one, every team rebuilds the same button with small differences. A system cuts duplicated work, speeds delivery, raises accessibility baselines and makes products feel coherent.
A component library is coded UI parts. A design system adds the tokens, design assets, usage guidance, principles and governance that decide how those parts are used.
Brad Frost's model of building interfaces from atoms (inputs, labels) into molecules, organisms, templates and pages. A useful mental model for composition, not a mandatory folder structure.
Designers, front-end engineers, accessibility specialists, content designers, product managers and brand teams, plus the consuming product teams whose adoption decides success.
Study mature public systems to see how they structure foundations, components and docs: Material, Carbon, Polaris, Atlassian, Primer and the GOV.UK Design System.
Design system teams use these words precisely. Agreeing on them early avoids long debates where people mean different things by "component" or "pattern".
A reusable, self-contained UI element with a defined API (props or variants), states and behaviour, implemented in both the design tool and code.
The packaged collection of coded components that product teams install, versioned and documented, often alongside a matching design-tool library.
The visual and verbal character of a brand in product form: colour, type, shape, motion, imagery and voice. Components express it; they do not define it.
The rules for how the system changes: who decides, how contributions are reviewed, how breaking changes are announced and how exceptions are handled.
Written guidance on when and how to use a foundation or component, with dos and don'ts. Guidelines turn a parts bin into a system.
A reusable solution to a user problem made from several components, such as asking for an address or confirming a destructive action.
A first real product that adopts the system early. It proves the components in production and surfaces gaps before a wider rollout.
A named design decision such as color.text.primary or space.200, stored as data and transformed into CSS variables, platform constants and design-tool styles.
A design-tool file of ready-made components and styles for mock-ups. Useful, but without code parity and guidance it is not a design system.
Two starting points: a blank slate, or an existing product whose de facto design you extract and clean up. Most teams do the second, because there is already UI in production to unify.
Suits new products or full rebrands. Start with foundations (tokens, type, colour), then the few components the first product needs, and grow only from real demand.
Inventory what is already shipped, find the variants of each element, choose or merge the best, and replace one-offs gradually so products keep shipping meanwhile.
Before standardising, learn what exists and why. An audit of shipped UI and the current workflow tells you where inconsistency costs the most.
Screenshot every button, colour, font size and input across the product and group them. Showing 14 slightly different greys is a persuasive way to win buy-in.
Map how designs move from idea to code today: tools, file ownership, review steps and handoff. The system has to fit into that workflow or replace it deliberately.
Find out which experiments are running and which variants won. Standardising a component can silently undo a tested improvement, or break an experiment mid-flight.
Collect localisation needs early: right-to-left scripts, text expansion, local date and currency formats, regional legal rules and accessibility laws.
The foundation layer of the audit: the raw visual values the product actually uses. These become your first tokens.
List every icon set, size and style in use. Mixed families (outlined next to filled, different stroke widths) are a common finding.
Shapes and surface treatments: corner radii, borders, shadows and elevation. Reduce them to a small, named scale.
Heights and widths of controls, avatars and touch targets. Standard sizes (small, medium, large) keep components aligned on the same rows.
Padding, margins and gaps found in the product. Most audits reveal many near-duplicates that collapse into a 4- or 8-point scale.
Every distinct colour value, where it is used, and whether text combinations pass contrast. Group them into brand, neutral and status families.
Font families, sizes, weights and line heights in use. Collapse them into a modular type scale with named roles such as heading, body and caption.
The component layer of the audit: which UI parts exist, how many variants each has, and which are used most. Prioritise the frequent, inconsistent ones. roadmap.sh ends this list with "...other", a reminder to inventory whatever else the product uses.
Page- or section-level messages such as maintenance notices and errors. Audits usually find several competing styles for the same severity.
Small labels and counters attached to other elements. Check how colour, shape and placement vary between features.
Containers grouping related content and actions. Note padding, elevation and click behaviour differences, especially whole-card versus inner links.
Text fields, labels, help text, validation messages and layout. Forms usually hide the most inconsistency and the most accessibility bugs.
Count the button styles, sizes and states in production. Most products need only a primary, secondary, tertiary and destructive variant.
Native selects, custom listboxes and menus often look alike but behave differently. Separate selection controls from action menus.
Define the character and intent of the system before components: what it stands for, how it sounds, how the brand appears and which rules apply everywhere.
Three to six short, opinionated statements that settle trade-offs, such as "clarity over density". Each should have a real example of a decision it made.
Why the system exists and what success looks like in a few years: which products it serves and what it will make easier. It guides scope and funding.
The verbal side of the design language. Consistent words make a product feel as unified as consistent visuals.
Rules for grammar, capitalisation, numbers, dates and punctuation in the interface, such as sentence case for buttons and no full stops in labels.
Describe the brand's personality in a few adjectives, then show how tone shifts by context: celebratory on success, calm and direct on errors.
A glossary of product terms and preferred words ("sign in", not "log in"), so every team names the same thing the same way.
Rules that keep the logo recognisable everywhere it appears, from favicons to splash screens.
Single-colour black and white versions for dark backgrounds, embossing, print and contexts where brand colours clash or are unavailable.
Minimum sizes and simplified marks (often just the symbol) for favicons, app icons and tight UI, where detail and wordmarks become unreadable.
Clear space around the logo, allowed positions, and which backgrounds are acceptable, so it never feels cramped or lost.
Dos and don'ts with examples: no stretching, recolouring, adding effects or rearranging parts, and rules for co-branding with partners.
Provide SVG for screens, PNG at several sizes for legacy tools, and print formats such as PDF or EPS, each in colour and monochrome variants.
System-wide rules every component and product must follow, regardless of feature. roadmap.sh groups these under "Guidelines".
Set WCAG 2.2 AA as the baseline and build it into every component: semantic HTML, keyboard support, visible focus, contrast and screen reader names. Fixing it centrally fixes it everywhere.
Shared patterns for first-run experiences: empty states that teach, contextual tips, and progressive disclosure instead of long tours users skip.
Standards for button labels, error messages, empty states and confirmations: specific verbs, what went wrong and how to fix it, no blame.
Tokens encode design decisions as platform-agnostic data, usually in tiers: primitive values (blue-600), semantic aliases (color.action.primary) and sometimes component tokens. A build tool such as Style Dictionary turns them into CSS, iOS and Android outputs.
Colour tokens map raw palette values to roles. Products reference roles, which lets themes such as dark mode or high contrast swap values without touching components.
Pair foreground and background tokens that meet 4.5:1 for body text and 3:1 for large text and UI boundaries, and never rely on colour alone to convey state.
Semantic colours for status: success, warning, error and info, each with background, border and text variants that pass contrast.
A second set of values for the same semantic tokens, not inverted colours. Use dark greys over pure black, lower saturation, and express elevation with lighter surfaces.
Document which token to use where, with examples, so teams pick color.text.subtle rather than a hex value that happens to look right.
Layout tokens and rules give every screen the same skeleton: units, a grid, breakpoints and a spacing scale.
Choose units deliberately: rem for type and spacing so they respect user font settings, px for hairlines, and viewport or container units for fluid layouts.
Column count, gutter and margin per breakpoint, implemented with CSS Grid or a layout component so designers and engineers align to the same structure.
A small set of named widths where layout changes, chosen by content rather than specific devices. Expose them as tokens and media-query helpers.
A named scale such as 4, 8, 12, 16, 24, 32 used for padding, gaps and margins. Consistent spacing does more for polish than any colour choice.
Type tokens bundle family, size, weight, line height and letter spacing into named styles. roadmap.sh calls this group "Typography".
Scale type between breakpoints, or fluidly with clamp(), keeping body text readable on phones and headings proportionate on large screens.
Line heights that are multiples of the base spacing unit keep text on a baseline rhythm and aligned with icons and controls.
Body text around 16px, line length of roughly 45–75 characters, line height near 1.5, and enough contrast. Avoid long runs of all caps or light weights.
Every font file costs load time. Limit families and weights, use variable fonts and WOFF2, subset glyphs, and set font-display to avoid invisible text.
Show which style to use for which role, how headings nest, and how to handle truncation, emphasis and numerals.
A consistent icon set with clear rules for drawing, naming and using icons, delivered as SVG components and design-tool assets.
Decorative icons get aria-hidden; meaningful icon-only buttons need an accessible name. Icons that convey state need 3:1 contrast.
Define stroke width, corner treatment, filled versus outlined, and perspective so every icon looks drawn by the same hand.
Name icons by what they show (trash), not by what they mean in one feature (delete-user), so they can be reused and found.
Draw on a fixed canvas (often 24×24) with keylines and padding so icons share optical weight and align with text and the spacing grid.
A few supported sizes (for example 16, 20, 24, 32) drawn or tuned for each, rather than free scaling that blurs thin strokes.
Tag each icon with search terms and synonyms so people find "bin" when they search for "delete" or "remove".
Icons locked to one meaning across all products, such as close, search and warning, so users never have to relearn them.
When to use an icon, when to pair it with a label, and how to request or contribute a new one.
Build the most-used components first, each with documented variants, states, accessibility behaviour and design-to-code parity. Follow the ARIA Authoring Practices for anything interactive that HTML does not provide natively.
A user or entity image with initials or icon fallback, in fixed sizes. Needs alt text or a hidden label, and optional status indicators.
A prominent message tied to a page or the whole app, with severity variants, optional actions and dismiss behaviour. Use role="alert" only for urgent content.
A small status label or count. Keep text short, ensure contrast and do not make it look clickable unless it is.
Use a native <button> for actions and a link for navigation. Define variants, sizes, loading and disabled states, and a visible focus ring.
A container for a summary of one item. Decide whether the whole card is clickable and keep a single primary link to avoid duplicate tab stops.
A rotating set of slides. Provide previous/next and pause controls, avoid auto-advance, and expect low engagement with later slides.
A component that renders SVG icons from the set by name, with size tokens, currentColor fill and a choice between decorative and labelled modes.
Vertical groups of items, from simple text to rows with avatars and actions. Use real <ul>/<ol> semantics so screen readers announce counts.
Spinners for short waits, progress bars for measurable work and skeletons for content layout. Announce progress to assistive tech and avoid flashing for fast loads.
A dialog that blocks the page until dismissed. Trap focus, close on Escape, return focus to the trigger; the native <dialog> element with showModal() handles much of this.
Switch between related panels in one view. Arrow keys move between tabs, Tab moves into the panel; do not use tabs for sequential steps.
Brief, non-blocking feedback after an action, announced via a live region. Keep it visible long enough to read and never put the only copy of important info in it.
A short text label shown on hover and focus, dismissible with Escape. Never put interactive content or essential instructions in a tooltip.
The input components from the core set, grouped here because they share label, help text, error and disabled behaviour. Build them on native HTML controls wherever possible.
A labelled text field with hint and error text linked via aria-describedby, the right type and autocomplete values, and width matched to the expected input.
Independent on/off choices, including an indeterminate state for "select all". Group related boxes in a <fieldset> with a <legend>.
One choice from a small set of mutually exclusive options, all visible. Arrow keys move the selection within the group.
A toggle for settings that take effect immediately. Use role="switch" with aria-checked; if a save button is needed, use a checkbox instead.
Choose one option from a longer list. The native <select> is the most accessible default; custom versions must reimplement keyboard and screen reader support.
Multi-line text input sized to the expected answer, optionally with a live character count announced politely to screen readers.
A button that opens a menu of actions or a combobox for filtering choices. Pick the right ARIA pattern, because menus and listboxes behave differently.
The tools that let designers and engineers build, share and evolve the system. On the design side that means a shared library in the design editor, with plugins and branching for changes.
Figma is the common choice: components with variants and properties, variables for tokens, and published libraries that product files subscribe to.
Extensions for syncing tokens with code, checking contrast, auditing detached components and generating documentation.
Branch and merge design library changes, review them before publishing, and keep a history that matches code releases.
The engineering side of the system: a component package with a catalogue, docs, automated quality checks and a predictable release process. roadmap.sh labels this group "Development".
An isolated workshop such as Storybook where every component and state can be viewed, tested and linked to, independent of any product.
A docs site combining usage guidance, live examples, props tables, accessibility notes and changelogs. If it is not documented, teams will not use it correctly.
Automate formatting and linting with Prettier and ESLint so reviews focus on API design and behaviour rather than whitespace.
Test component behaviour from the user's side with Testing Library: roles, labels and interactions, not implementation details. Add visual regression tests for styling.
Run axe-core in unit tests and the catalogue to catch common violations, then test manually with keyboard and screen readers, which automation cannot replace.
MAJOR.MINOR.PATCH: breaking changes bump major, new features minor, fixes patch. Consumers rely on it to upgrade safely.
Decide cadence, how deprecations are announced and supported, and how changelogs are generated. Tools like Changesets tie version bumps to individual PRs.
A commit format such as Conventional Commits (feat:, fix:, BREAKING CHANGE) makes history readable and lets tools derive versions and changelogs.
A pull request template that asks for screenshots, accessibility checks, docs updates and a changeset, so reviewers get what they need every time.
Explain how product teams propose, design, build and review new components or changes, with criteria a contribution must meet before it is accepted.
Run the design system like a product: a visible roadmap, planned milestones and a single place where requests and bugs are tracked.
A public plan of what the team is working on next and later, so product teams can plan around upcoming components instead of building their own.
Group work into dated targets such as "forms v2" or a major release, and track progress against them.
One intake for bugs, component requests and questions, with templates and labels for triage, so nothing gets lost in chat threads.
Measure adoption and health to know where the system helps, where teams work around it and where to invest next.
Scan product codebases for which components and versions are imported, and where local copies or overrides replace them. Low adoption usually points to a gap.
Emit deprecation warnings and runtime errors from components in development builds so consumers learn about misuse before it ships.
Track design-library usage (component inserts, detachments) and docs-site traffic and searches to see what people look for and cannot find.
Track bundle size, test coverage, accessibility violations, open bug age and release frequency to judge whether the system itself is healthy.
A design system succeeds through its community. Regular, predictable communication turns consumers into contributors.
Regular sessions to demo new components, discuss proposals and hear from product teams. Record them for people in other time zones.
A single place for announcements and questions, such as a chat channel or GitHub Discussions, plus release notes that consumers can subscribe to.
Scheduled drop-in time where anyone can bring a design or code question to the system team, which catches misuse early.
Collect recurring questions from channels and open hours into a maintained FAQ in the docs site, and link to it instead of answering again.