Design System Examples and a Live Website Style Guide

A design system is the shared set of tokens, components and usage rules a team builds with; a website style guide is its smallest form, one page of colours, type and core components. Study public systems such as USWDS, GOV.UK, Carbon and Atlassian, then use the builder below to make a starter guide for your own site.

What a design system usually contains
LayerExamplesSmallest useful version
Foundations (tokens)Colour, type scale, spacing, radiusOne brand colour, one font, a 4 or 8px spacing step
ComponentsButton, input, card, alertPrimary and secondary button, text field, card
PatternsSign-up, search, error pagesA form layout and an empty state
GuidanceVoice, accessibility, do and don'tFive rules everyone on the team can repeat

Updated

Lists of design systems link out and stop. This page explains what to take from four well documented public systems, then gives you a working style guide builder that renders buttons, a form field, a card and an alert from your choices and exports the matching CSS custom properties.

Public design systems worth studying

Checked on each system's official site, October 2026
SystemMade byWhat it publishesStudy it for
U.S. Web Design System (USWDS)US General Services AdministrationDesign tokens, components with accessibility and implementation guidanceToken scales for colour, type and spacing units
GOV.UK Design SystemUK Government Digital ServiceStyles, components and patternsPatterns for whole tasks, like asking for names
CarbonIBMOpen source components for React and Web Components, built on IBM Plex typeEnterprise data tables and dense layouts
Atlassian Design SystemAtlassianDesign tokens named by foundation, property and modifier, such as color.textA clear token naming scheme

Style guide builder

Choose a brand colour, font stack, corner radius and spacing step. The sheet and the CSS below update together.

Starter style guide in plain CSS

Tokens and three components

Every rule reads a custom property, so changing --brand or --radius restyles all components at once.

<style>
  :root { --brand: #2563eb; --text: #111827; --line: #d1d5db; --danger: #b91c1c;
          --radius: 10px; --space: 8px; --font: system-ui, sans-serif; }
  body { font-family: var(--font); color: var(--text); }
  .btn { padding: var(--space) calc(var(--space) * 2); border-radius: var(--radius); border: 2px solid var(--brand);
         background: var(--brand); color: #fff; font-weight: 600; }
  .btn.alt { background: transparent; color: var(--brand); }
  .field { display: block; margin-top: calc(var(--space) * 2); }
  .field input { display: block; margin-top: 4px; padding: var(--space); border: 1px solid var(--line); border-radius: var(--radius); }
  .alert { margin-top: calc(var(--space) * 2); padding: var(--space); border-left: 4px solid var(--danger); background: #fef2f2; }
</style>
<button class="btn">Save</button> <button class="btn alt">Cancel</button>
<label class="field">Email <input type="email" placeholder="[email protected]"></label>
<p class="alert">Enter an email address in the format [email protected]</p>

What to take from each example

From USWDS, take the idea of limited token scales: spacing and colour come from a fixed set of steps, so pages stay consistent without anyone measuring. From GOV.UK, take patterns, which document how to ask for a date or an address across a whole task, not just how a field looks.

From Carbon, notice how each component page covers usage, style and code separately for different readers. From Atlassian, borrow the naming habit of foundation, then property, then modifier, which keeps hundreds of tokens findable.

Building your own, small

A one-person or small-team website needs a page you can open while building, not a documentation site. Put the tokens at the top, the five components below, and a short do and don't list for each.

Code the tokens as CSS custom properties from day one. When the site grows, those same names can move into a token file and feed other platforms without renaming anything.

How it works

  1. Pick a brand colour, a font stack, a corner radius and a spacing step.
  2. The sheet redraws a button pair, a text field, a card and an alert using only those choices.
  3. Read the contrast line: it computes the ratio of white button text on your brand colour.
  4. Copy the CSS variables and start every new component from them.

Tips

Frequently asked questions

What is the difference between a style guide and a design system?

A style guide records visual rules: colours, fonts, logo use and tone. A design system adds the coded components, tokens and documentation that put those rules into products, and usually a process for changing them. Most small sites only need the style guide plus a handful of components.

Which design system examples are best to learn from?

Government systems such as USWDS and GOV.UK are public, explain the reasons behind each choice and focus on accessibility. Carbon shows how a large company documents complex components. Atlassian is a good model for naming tokens by role.

Can I use a public design system on my own website?

Several publish open source code, but each sets its own licence and brand rules, and a government or company look on an unrelated site can mislead visitors. Read the licence and brand rules on the system's site before reusing its components or look.

How many colours does a website style guide need?

Start with one brand colour, a near-black for text, one or two greys for borders and surfaces, and a red for errors. Add more only when a real component needs them.

Related: Design tokens explained, Brand style guide generator, Colour contrast checker, CSS variables guide, Web design principles.

Start for free or see all free tools. We.Inc is free to start, with no card needed. AI building is on paid plans from $20 a month.

More in Guides

We.Inc is an AI-powered website builder you can resell under your own brand. Launch a branded client dashboard, bill on Stripe Connect, and deliver AI-generated websites in minutes. White-label plans start at $99 a month for 25 client sites, with a 7-day free trial and no per-site fees.

Product

Who It's For

Features

Resources

Company

View Sitemap