Skip to content

Blog

Product Development & Technology

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
Dithered illustration of a marble hand setting a single letter into a composing stick from a printer's type case, the letter glowing raspberry pink while finished pages hang behind.
logo of Facebook
logo of X
logo of LinkedIn
logo of Reddit
logo of Telegram

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.

Two marble fingertips holding a thread against one skein on a dyer's board of named skeins

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.

  1. 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.

  2. 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.

  3. 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".

  4. 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.

  5. 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 marble face comparing the newest carved baluster with a drawing in an open pattern book on a balustrade

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

FAQs.

01

02

03

04

05

Read more.

Dithered illustration of a marble hand setting a single letter into a composing stick from a printer's type case, the letter glowing raspberry pink while finished pages hang behind.
Keeping an AI-Built App Consistent: A Small Design System That Holds
7 min

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.

Dithered illustration of a marble hand tilting a gilded painting away from a gallery wall to show the maker's label on its back, the label glowing amber.
AI-Generated Ads and Disclosure: What Meta, Google and LinkedIn Ask For
7 min

Meta and Google require AI disclosure mainly for political and election ads; LinkedIn bans political ads. In the EU, deep fakes in any ad must be disclosed.

Dithered illustration of a marble forearm lowering an iron bar across a small postern door in a city wall at dusk, while the great gate beside it already stands open, the bar glowing red.
EU AI Act Article 50 on 2 December: Who the Deadline Is For
7 min

On 2 December 2026, AI content generators already on the EU market before August must mark their output. Chatbot disclosure and deployer duties have applied since August.

Think AI-first.
Move future-fast.

Let’s build what’s next! From product ideas and intelligent workflows to data-driven systems and scalable growth operations.

Book a Strategy Call