AI design system: how to use AI with your own system
How design teams use AI against a real design system: tokens, components, rules files, Figma and code sync, review and governance so output fits.

An AI design system is your existing design system with AI working on top of it. The AI reads your tokens, uses your components, follows your usage rules and builds screens from those parts, so the output looks like your product.
To get there, a design team makes the system readable by a machine, gives AI access to it, checks what it produces and decides who owns the rules. This guide covers each of those steps. If you landed here looking for machine learning architecture, that is a different topic, and I answer it in the FAQ below.
Why does AI output drift without a design system?
Ask an AI tool for a settings page and it will give you a settings page. The spacing is plausible, the blue is a blue, the buttons have rounded corners. None of it is yours.
The model has no way of knowing your primary color, your 8px grid or the fact that your product never uses a card inside a card. So it fills the gaps with the average of everything it has seen. Every team that skips the system gets the same average result.
I have seen this on client work. A prototype generated from a prompt looks fine in isolation. Put it next to the real product and the differences show: a slightly wrong radius, a custom shadow, a button variant that does not exist. Each one is small. Together they make the screen unusable without a cleanup pass, and the cleanup often costs more than building it right.
The opposite case is just as clear. On projects where the design system lived in code, with tokens and documented components, AI assembled full screens that looked like the product. Same tools, same prompts. The difference was the context.
What has to exist first
You do not need a perfect system. You need four things in a form a machine can read.
Tokens as data
Colors, type sizes, spacing, radii, shadows and motion values, stored as named tokens in a file, beyond the numbers in a Figma style panel. Figma variables, Tokens Studio or a JSON file that a tool like Style Dictionary turns into CSS variables all work. The point is a single list of names the AI can use instead of raw values.
Name tokens by role. color-text-muted tells the AI when to use it. gray-500 does not.
Components in code
A button, an input, a modal and a table that exist as real components with props. When the AI has these, it composes them. When it has only screenshots, it redraws them.
The component API matters as much as the look. A variant prop with three clear values is easier to use correctly than ten loose style overrides.
Usage rules in writing
When to use which component, what the spacing rhythm is, how errors and empty states look, what is never allowed. Short, concrete and in plain text. These are the rules a senior designer carries in their head, written down.
One source of truth
Pick where the truth lives. Some teams treat Figma as the source and generate code values from it. Others treat code as the source and sync into Figma. Both work. The failure is having both and letting them disagree. AI will happily use the outdated one.

Image: Tokens Studio
How AI actually uses the system
There are three ways the system reaches the model. Most teams end up using all three.
Rules files
A rules file is a plain text file in the project that the AI reads at the start of every session. In Claude Code it is CLAUDE.md. Other tools have equivalents. For a design system it holds:
- Which component library and token file to use.
- The rule to use tokens and never raw hex values or pixel numbers.
- Where components live and how they are named.
- The interface language and direction. For Hebrew products, say right-to-left explicitly.
- What the AI must never change, such as the token file itself.
Keep it short. A long rules file gets partly ignored, the same way a long brief does. I covered the setup in my Claude Code setup guide for design teams.
A connection to Figma
Figma’s MCP server lets an AI tool read frames, components and variables straight from your files. That closes the gap between the design and the build. You point the tool at a frame and it works from the actual spec, including the variables applied to it.
Connections like this are the reason the Figma-to-code step is shrinking. They do not remove the need for review, which comes next.

Image: Figma
The code itself as context
The most reliable context is the component library the AI can open and read. It sees the props, the variants and the existing usages. A good example in the codebase teaches more than a paragraph of instructions. If you want a page built, point it at the closest existing page.
For quick, throwaway exploration, tools like Figma Make work with your library as well. I wrote about where Figma Make fits for a design team, and about picking between the options in my comparison of AI prototyping options. If you build the real thing yourself, I cover the working habits in how design teams build with vibe coding.
A safe workflow: generate, check, review, ship
Speed is easy. The workflow is what keeps speed from turning into drift. This is the loop a design team can run.
1. Generate from the system
Prompt with the screen’s purpose and the components to use. Name the closest existing pattern. Ask it to compose from the library and add no new styles.
2. Check against tokens automatically
Let a script do this. A simple lint step can flag any hex value, any pixel number outside the spacing scale and any component imported from outside the library. If the check fails, the AI fixes it before a human sees the result. Tools like Stylelint and ESLint rules handle most of this, and the AI can write the rules for you.
3. Review as a designer
Automated checks cover consistency. They do not cover judgment. A designer looks at hierarchy, states, empty and error cases, content length and, for Hebrew, right-to-left behavior. This is the same review a human-made screen gets.
The numbers back this instinct. In the UX Tools State of Prototyping survey (Spring 2026, 1,478 respondents), only 1.4% trust AI output without a human check.
4. Ship through a pull request
AI output goes through the same path as any change: a branch, a pull request, a reviewer. Engineers review code. Designers review the result. Nothing reaches the main branch because a model said it was done.

Image: Style Dictionary
Governance: who owns the rules
A system with AI on top changes faster than a system without it. Someone has to own that.
One owner for the rules file. Usually the design system lead. Changes to it are reviewed like changes to a component.
A clear list of what AI may change. A common split: it can build screens and compose components freely. It can propose a new component or token, but a person approves it. It never edits the token file or the core library directly.
New patterns go through the system. If the AI needs a component that does not exist, that is a signal. Add it to the library properly, then use it. Do not let a one-off live inside a single screen.
Skills for repeated work. When a request repeats, write it down once as a reusable instruction so the whole team gets the same result. Keep them in a shared place.
A short written review standard. What a designer checks, what a developer checks, and what blocks a merge. Written before the first project, not after the first incident.
The wider rollout, including training and ownership, is in rolling AI out across a design team. For the bigger picture, see how AI changes product design work.
Common failure modes
The system is a Figma file only. No tokens in code, no components. The AI has nothing to build from, so it guesses.
Two sources of truth. Figma says one thing, code says another. The AI picks one at random.
A giant rules file. Fifty rules, half of them conflicting. Start with ten and add one when a mistake repeats.
Raw values everywhere. If the existing code is full of hex values, the AI copies the habit. Clean up the examples it will see.
No automated check. Reviewers get tired. A lint step does not.
Letting the AI edit the system. A model that can change a token to make its own screen pass the check will do it. Protect the files.
Treating output as finished. A generated screen works, so it feels done. States, edge cases and accessibility still need a person.
Frequently asked questions
Is an AI design system the same as AI system design? No. AI system design is about architecting machine learning systems: models, pipelines and infrastructure. An AI design system is about design: using AI together with your tokens, components and rules so generated interfaces match your product.
Do I need a design system before I use AI? You need the basics in a readable form: named tokens and a handful of real components. A small system that is consistent beats a large one that is not. AI also helps you build the system, for example by turning scattered values into tokens.
Can AI generate a design system from scratch? It can draft one, and the draft is a starting point. It has no knowledge of your brand, your users or your product constraints, so a designer still makes the decisions.
Which tools connect to a design system? Figma’s MCP server lets AI tools read your frames, components and variables. Code-based tools such as Claude Code read your component library and rules file directly. Check each tool’s current documentation for what it supports. For a broader comparison, see which AI tools fit UX work.
Does this work for Hebrew and right-to-left products? Yes. State the direction in the rules file and check alignment, icons and mixed Hebrew and English text in every review. Use logical properties such as start and end instead of left and right in your tokens. For fonts and type rules across Hebrew and English, see my guide to AI typography for design teams.
Who should own the rules? The design system lead, with engineering as reviewer. One named owner keeps the rules from forking across the team.
How do I know the AI used my tokens? Run a check. A lint rule that flags raw colors and off-scale spacing answers the question every time.
Where to start
Pick one product area. Make sure its tokens are named and in code, its core components exist, and a short rules file says how to use them. Generate one real screen, run a token check, review it as you would any design, and ship it through a pull request. Then compare the effort to your usual process. If you are not sure your team is there yet, check how ready your team is first.
If you want help setting up your system for AI, see Shalev HQ’s work with design teams or talk through your design system setup with me.