Keeping an AI-Built App Consistent: A Small Design System That Holds
Keep an AI-built app consistent with a small design system: a few named tokens, a short set of shared components, and written rules your AI tool reads.
7 min read

Contents
To keep an app built with AI tools consistent, give the tool a small design system it can't ignore: a few named design tokens for colour, type and spacing, a short list of shared components every screen must use, and written rules in the place your tool reads on every request. Then check new screens against those rules before they ship.
Picture a founder three weeks into building with an AI app builder. The first screens looked clean. Now the settings page has a different shade of blue, the billing page uses bigger buttons, two modals close in different corners, and the sign-up form has its own spacing. Nothing is broken, but the product feels assembled rather than designed, and every new prompt adds a little more drift.
Why do apps built with AI tools drift visually?
They drift because each prompt is answered on its own. Unless the tool is told which colours, sizes and components already exist, it picks reasonable values for the screen in front of it, and reasonable values differ from screen to screen.
The same thing happens with human teams that lack a shared reference; AI tools just do it faster. We covered where these tools speed design up and where they fall short in Can AI Design Tools Replace a Product Designer?. The fix is not a 200-page brand book. It is a small set of decisions written down where the tool will see them every time.
What is the smallest design system that works?
The smallest design system that holds has three parts: tokens, components and rules. Most early products need about one page of each, not more.
Design tokens. A design token is a named design decision, such as color-primary or space-4, stored once and reused everywhere. The Design Tokens Format Module 2025.10, published by the W3C Design Tokens Community Group as a Final Community Group Report on 28 October 2025, defines a token as "information associated with a human readable name, at minimum a name/value pair." It is a community group report, not a W3C standard, but it gives a shared vocabulary.
Shared components. A shared component is a single implementation of a button, input, card or dialog that every screen imports instead of rebuilding. One button component means one button style.
Written rules. Rules are short sentences that say when to use what: "one primary button per screen", "destructive actions use the danger colour and a confirmation dialog".
Which design tokens should you define first?
Start with colour, typography, spacing and corner radius, because those are the values that drift first and show most. Shadows, motion and breakpoints can wait until the basics hold.

A starting set for an MVP might look like this:
Colour: background, surface, text, muted text, border, primary, primary text, danger, success. Name them by role, not by shade, so "primary" can change without renaming anything.
Typography: one font family, four or five text sizes (for example caption, body, heading 3, heading 2, heading 1) and two weights.
Spacing: one scale, such as 4, 8, 12, 16, 24, 32 and 48 pixels, and nothing in between.
Radius: two values, one for inputs and buttons, one for cards and dialogs.
If the app uses Tailwind CSS, put these in the theme. Tailwind's theme documentation describes theme variables as "special CSS variables defined using the @theme directive that influence which utility classes exist in your project." Defining a colour there creates matching classes, so the tool reaches for bg-primary instead of inventing a new hex value. Values outside the theme still work, which is why the rules below matter.
How do you get an AI tool to follow your design system?
Put the system where the tool reads it on every request, keep the components in the codebase, and ask for changes in terms of those components. AI tools follow what is in their context; they can't follow decisions that live only in a Figma file or someone's head.
Write the rules into the tool's standing instructions. In Lovable, project instructions (formerly Knowledge) are "always included in context" and hold up to 10,000 characters; Lovable's own examples include "Follow the existing color palette and spacing scale." In Claude Code, a CLAUDE.md file carries instructions into every session. Other tools have similar files; use whichever yours reads.
Keep components in the code, not in a package you can't change. shadcn/ui describes itself this way: "This is not a component library. It is how you build your component library." Because the component code sits in your project, you can adjust it once and every screen follows.
Name components in prompts. "Add a settings form using our Input, Select and Button components" gets a more consistent result than "add a settings form".
Ask for a reuse check. After a new screen, ask the tool to list any colours, sizes or one-off components it introduced that aren't in the system, then replace them.
Record new decisions straight away. When you do need a new pattern, add the component and a one-line rule in the same change, so the next prompt knows about it.
If you are still deciding whether this kind of build is enough for your product, our plain-English guide to vibe coding covers where it fits.
How do you check that new screens stay consistent?
Review each new screen against a short checklist before it ships. The checks take minutes and catch most drift while it is still one screen, not ten.

A screen review checklist
Every colour, size and spacing value comes from a token; no raw hex codes or one-off pixel values.
Buttons, inputs, dialogs and cards are the shared components, not new copies.
There is one primary action per screen, in the same place as on similar screens.
Body text meets the WCAG 2.2 contrast minimum of at least 4.5:1 (3:1 for large text), a Level AA criterion.
Tap and click targets are at least 24 by 24 CSS pixels, the WCAG 2.2 target size minimum, with the exceptions it lists.
Empty, loading and error states use the same patterns as the rest of the app.
The screen still holds together on a phone-sized width.
Checking accessibility in the system, rather than screen by screen, pays off: get the contrast right in the colour tokens once and every screen inherits it.
When do you need a bigger design system?
You need more when several people or several products share the interface, when you add a second platform such as a native mobile app, or when the same question about a pattern keeps coming up. Until then, a small system that everyone actually uses beats a large one that nobody opens.
Signs it is time to grow it:
Repeated one-offs. The same "special" card or table keeps being rebuilt in slightly different ways.
More than one builder. Several people, or several AI sessions in parallel, are shipping screens each week.
More than one surface. A marketing site, an app and an admin panel need to look like one product. Our checklist for an MVP landing page is a good place to line the site up with the app.
Tokens shared across tools. Designers and developers need the same values in design files and code, which is where a token format such as the community group's becomes useful.
How we approach it at Vizio AI
We start small and in the code. On a new product, or one we take over after it was built with AI tools, we first list the colours, sizes and components the app already uses, pick the ones worth keeping, and turn them into a short set of tokens and shared components.
Then we write the rules into the instruction file the team's AI tool reads, refactor the most-used screens onto the shared components, and add the screen review checklist to how work gets accepted. The system grows only when a real need repeats. New products start in our Venture Studio; if your app already works but has drifted, see Finish Your Build.
Sources
W3C Design Tokens Community Group, Design Tokens Format Module 2025.10 (28 October 2025): https://www.designtokens.org/TR/2025.10/format/
Tailwind CSS Docs, Theme variables: https://tailwindcss.com/docs/theme
shadcn/ui Docs, Introduction: https://ui.shadcn.com/docs
Lovable Docs, Project instructions (Knowledge): https://docs.lovable.dev/features/knowledge
Claude Code Docs, How Claude remembers your project: https://code.claude.com/docs/en/memory
W3C, Understanding WCAG 2.2 Success Criterion 1.4.3 Contrast (Minimum): https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html
W3C, Understanding WCAG 2.2 Success Criterion 2.5.8 Target Size (Minimum): https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html
Vizio AI, Can AI Design Tools Replace a Product Designer?: https://www.vizio.ai/resources/blog/ai-design-tools
Vizio AI, What Is Vibe Coding? A Plain-English Guide for Founders: https://www.vizio.ai/resources/blog/what-is-vibe-coding
Vizio AI, The MVP Landing Page: What It Needs Before You Pay for Traffic: https://www.vizio.ai/resources/blog/mvp-landing-page
Vizio AI, Venture Studio: https://www.vizio.ai/studios/venture-studio
Vizio AI, Finish Your Build: https://www.vizio.ai/finish-your-build
FAQs.
Read More

Can AI Design Tools Replace a Product Designer? Claude Design, Figma Make and v0

What Is Vibe Coding? A Plain-English Guide for Founders

The MVP Landing Page: What It Needs Before You Pay for Traffic

Why Projects Built With Claude or Codex Stall Before Launch

Onboarding for AI Products: Getting Users to Their First Good Answer

Fix It or Rebuild It? How We Decide When We Take Over Someone Else's App

Claude Code for Operations Teams: Automating Internal Tools Without a Dev Team

Lovable's Security Scan: What It Catches and What to Check Before Launch



