Article · AI & Design Systems

Design System Creation: From Brand to Components with AI

You set the visual language, AI does the volume.

You set the visual language, AI does the volume. Designers define a brand-true look and a small set of tokens; Claude then rolls those tokens out into every state, variant and component, and the result goes back into your design tool for refinement. This guide covers the six steps.

STEP 01

Explore the visual language on archetypal UI

Start from the corporate identity, not from a blank canvas. Review the brand guidelines: logo, colours, typefaces, imagery, tone of voice. Then test how they translate to screens, because print and brand guides rarely answer UI questions like focus states or dense tables.

Pick a small set of archetypes and design them in 2–3 directions:

Components

Button, input field, card, navigation, table row

Layouts

Grid, header, sidebar, mobile vs. desktop

Page types

Start page, list/overview, detail page, form or checkout

Who leads: you do

Use AI for moodboards, references and quick variations (“Show me five ways to apply this accent colour to a primary button”). Do not let it set the direction: AI output drifts toward the average of what it has seen, and an average look does not represent a brand.

Output

One chosen direction, shown on 3–5 archetypal screens, approved by brand and product owners.

STEP 02

Specify the core variables and tokens

Tokens turn the chosen direction into rules a machine can apply. Extract them from the screens in step 1 and keep the set small: everything in step 4 is derived from it.

Use two layers. Components only ever use semantic tokens, so a rebrand changes one layer.

Primitive tokens

Hold raw values

blue-600: #1F4FD8
Semantic tokens

Say what a value is for

color-action-primary: {blue-600}
Category Define Example semantic token
ColourBrand, neutrals, status (success, warning, error), text and surface roles; check contrast to WCAG AAcolor-text-primary
TypographyFont families, a type scale (e.g. 6–8 sizes), weights, line heightstype-heading-lg
ShapeCorner radii, border widths, elevation/shadowsradius-md
SpacingA base unit (4 or 8 px) and a scale for padding, gaps, layout gridspace-4
IconographyGrid size, stroke width, style (outline/filled), sizesicon-size-md
Motion (optional)Durations and easing curvesmotion-fast
Naming rule

category – role – variant – state, e.g. color-action-primary-hover. Consistent names are what lets Claude roll the system out without guessing.

STEP 03

Connect your design tool to Claude

Claude needs your tokens as data, not as a screenshot. Two routes:

Route How Best when
Figma MCP serverConnect Figma as a connector in Claude; Claude then reads variables, styles and components straight from a file linkYou work in Figma and want a live, two-way link
JSON exportExport variables (natively or with a plugin such as Tokens Studio) as a JSON file, ideally in the W3C Design Tokens (DTCG) format, and attach itOther tools, no connector, or a versioned token file in Git

Add a design.md file. JSON tells Claude the values; a design.md tells it how to use them. Write the tokens as a Markdown file with a short rule next to each group: when to use which colour, the spacing logic, do’s and don’ts. Store it as permanent context in your design system, e.g. as project knowledge, in the Claude Design design system or in a RAG index. Every later prompt then draws on the same rules without you pasting them again.

Example · design.md
# design.md
## Colour
- color-action-primary: {blue-600}. Only for the one main action per view.
- color-text-secondary: {gray-600}. Hints and meta text, never body copy.
## Spacing
- Base unit 8 px. Inside components space-2 to space-4, between sections space-8.
## Don't
- No hex values in components. No new token without a “proposal” flag.
Before you connect

Organize variables into collections (primitives, semantic), name them as in step 2, and delete unused ones. Claude reproduces messy naming faithfully.

STEP 04

Import tokens into Claude Design and roll out states and variants

This is where AI saves the most time. Import the tokens as a design system in Claude Design, then let Claude derive the full matrix for each base element.

Prompt template
Here are our design tokens [JSON file / Figma link] and our design.md.
Use only these tokens; do not invent values.
For [button, input, checkbox, …] create:
- States: default, hover, focus, pressed, disabled, loading, error
- Variants: primary, secondary, tertiary, destructive
- Sizes: S, M, L
- Modes: light and dark
Flag every place where a token is missing and propose one,
marked as “proposal”. Check text contrast against WCAG AA.
Review

Go through the matrix state by state. Typical misses are focus rings, disabled contrast and dark-mode borders. Add missing tokens to your token source, not as one-off fixes.

STEP 05

Build components, kits and other artifacts

Build only what a real product need asks for. Compose larger pieces from the base elements of step 4, smallest first:

Artifact Examples Ask Claude for
ComponentsCard, modal, dropdown, data table, navigationAnatomy, all states, responsive behaviour
Component versionsCompact vs. comfortable table, mobile navVariants as properties, not separate components
Patterns and templatesForm with validation, list page, empty statesLayouts built only from existing components
UI kitEverything above for one product or touchpointA structured overview page per category
DocumentationUsage guidelines, do/don’t, accessibility notesOne short page per component
Rule

If Claude needs a new value to build something, it goes back to step 2 as a token proposal. Components never hold hard-coded values.

STEP 06

Reimport into your design tool and refine

AI output is a strong first draft; the final polish is manual. Bring the components back into your design tool, via the Figma MCP server or as a file export, and refine what needs a designer’s eye: optical alignment, icon details, spacing rhythm, micro-interactions.

Decide on one source of truth and write it down:

Design tool as source of truth

Tokens and components live in Figma; Claude reads from there for every new round.

Token file as source of truth

A versioned JSON in Git feeds both Figma and code; the design tool holds the visual documentation.

Whatever you choose, changes flow in one direction only. Two places that are both edited by hand drift apart within weeks.

CHECKLIST

Checklist