Skip to content
AISoftware development

Building a Claude Design System From Your App's Code

Matt Hammond 8 min read

Design systems now live in Claude as artifacts (the standalone Claude Design app is read-only from 14 December 2026), and we think the best source for one is the app itself. We built design systems for a client’s two React Native apps from their code. People designing in Claude get components that match what ships, the team gets a wireframe theme from the same parts, and the build doubled as a check on the apps’ own user interface.

Design is one area of our delivery where we lean fully into AI, and design systems are a large part of why that works. Our post on Claude Design after 14 December covered the move out of the standalone app. This post is about what we do now that our design systems live in Claude: building a design system in Claude from the code of the app it describes.

The example is recent work for a client with a customer app and a staff app on phone and tablet. Both apps are built in React Native, a framework for building iOS and Android apps from one codebase. We do not name the client, and we describe what the build found by category only.

Why build a design system from the code rather than a brand PDF?

The code is what users see, so it is the most accurate source a design system can have. A brand PDF describes how a product should look, while the repository holds what the app renders. Building from the code means a design made in Claude maps to what developers build, not to an idealised version of the product.

For this client, everything came from the two apps’ repositories:

  • Design tokens (named values for colour and type that design tools and code both read)
  • Type styles
  • Icons
  • Photography
  • The licensed fonts

The result is two design systems of a useful size. One holds 163 components and patterns with 74 screen templates. The other holds 196 components and patterns with 52 screen templates, including tablet layouts where the app has them.

We still build design systems from uploaded brand files when a client has no app yet. Our guide to AI-friendly brand guidelines covers what to ask a brand agency for in that case.

How do you put a mobile app’s components into Claude?

React Native components cannot run in a Claude artifact, so we recreated each one as a React web component that reads only design tokens. Each recreated component keeps the name it has in the code. A design built from them therefore maps one to one to the components a developer will use.

Reading only tokens matters because it keeps the design system honest. If a colour or a type style is not a token in the app, it is not available to the components either, so they stay within what the app can render.

Seven steps from a mobile app's code to a Claude design system: tokens, components, screens, checks, and a package
Seven steps from a mobile app's code to a Claude design system. 1: the app repository, the source of truth for every step that follows. 2: tokens and assets, meaning colours and type styles from the app's theme with its icons, photography, and licensed fonts. 3, highlighted: components, each recreated as a React web component that reads only tokens and keeps its name from the code. 4: patterns, combinations of components taken from the app's features. 5: screen templates, whole screens in phone frames and in tablet frames where the app has them. 6: a preview check, where every preview is rendered in both themes, any error fails the build, and a person reviews the output. 7: a versioned package, an import zip with the assets and an import guide, ready for the client's Claude account.

Is it different for a web app?

The model is the same for a web app, and the build step is simpler. A web app’s components already run in a browser, so a design system can be synced from the repository rather than recreated. In Claude that is Sync from GitHub, and in Claude Code it is the /design-sync command.

We run web app design systems the same way as mobile ones. The repository is the source, each release is a versioned package, and the client imports it into their own Claude account. Only the step that gets the components into Claude differs. Our guide on moving designs between Claude and Claude Code covers syncing in more detail.

What does a wireframe theme give you?

A wireframe theme gives you low-fidelity wireframes made from the real components. We added a second token theme, the Wireframe theme, which turns every component grey and every photograph into a crossed box. The same components then serve both wireframes and high-fidelity designs.

Because both themes use the same components and layouts, moving from a wireframe to a finished design is a change of theme, not a redraw. The aim is to keep early conversations on layout and flow, without colour and photography pulling attention away, while everything on the page is still something the app can build.

One set of design system components in an app theme and a wireframe theme with grey parts and crossed-box photos
The same design system components shown in two themes. The app theme, for high fidelity, uses tokens from the app's code: colours from the app's tokens, real photography from the repository, and the app's components and layouts, for designs that look like what ships. Swapping the theme gives the wireframe theme, for low fidelity, a second token theme: every component grey, every photograph a crossed box, and the same components and layouts, for early wireframes about layout and flow. Only the token theme changes, so a wireframe becomes a design without being redrawn.

What did the code reveal?

Recreating every component is a close reading of an app’s user interface code, and it surfaced places where the apps render something other than their authors intended. We recorded each one in a findings section in the design system, for the client’s developers. The findings fell into categories such as these:

  • Fonts: a font file that was a copy of another weight, so text set in one weight showed in another.
  • Colours: references to palette entries that did not exist.
  • Accessibility: missing accessibility labels, which leave a screen reader with nothing useful to announce.

None of these is easy to spot from a screenshot or a brand PDF, because each one starts in the code. We find this a useful side effect of building from the code. The design system describes the app as it is, and the findings section lists where that differs from what was meant.

How did AI and people split the work?

Claude built the design systems, and people reviewed them. Claude worked through parallel sub-agents (separate Claude sessions that each take one part of the work), each working to a written brief, and a person reviewed the output. That is the split we use across design: people give the input and review the result, and AI does the work in between. Our guide on where AI helps in UX design and where people decide covers that split.

Each design system lives in its own repository, and the same rules apply to anyone who works on it with Claude Code. A CLAUDE.md file and a set of authoring rules say three things:

  • The app’s code is the source of truth.
  • Every colour is a token.
  • Every change is checked visually in both themes.

A GitHub Actions workflow then builds the system, renders every preview in both themes, and fails on any error.

How does the client’s product team get the design system?

The client has its own Claude Team subscription, separate from ours, so the design system has to move between accounts. We export a versioned package that includes the assets and an import guide, and Claude Code recreates the design system in the client’s account. Product managers, business analysts, and designers on the client’s side can then design with the same components we use.

Our guide to sharing a Claude design system across accounts explains the package, the GitHub repository, and how releases work. Our guide to design systems, UX patterns, and Storybook covers how much of a design system a product needs in the first place.

Where does this fit in our work?

A design system of the app, shareable with the client’s product team, is part of our mobile app development and custom software work rather than a separate design service. Design is done by our business analysts and engineers, working with AI, and the design system keeps their designs and the client’s in step with the code.

If you have an app and would like your product team designing from its real components, book a consultation.

Frequently asked questions

Can Claude build a design system from a React Native app?
Not by running the app's components, because React Native components cannot run in a Claude artifact. We recreate each component as a React web component that reads only the app's design tokens, with names that match the code, so a design maps one to one to what developers build.
How do you wireframe with a design system in Claude?
We add a second token theme. Our Wireframe theme turns every component grey and every photograph into a crossed box, so the same components serve low-fidelity wireframes and high-fidelity designs. Moving from one to the other is a change of theme, not a redraw.
Do we still need brand guidelines if the design system comes from the code?
Not to build the design system, if the app already exists, because the code holds the tokens, type styles, icons, and components. Brand guidelines still help with decisions the code does not record. When there is no app yet, we build the design system from uploaded brand files instead.
Can the client's own product team use the design system?
Yes. In the work described here the client has its own Claude subscription, so we export a package that includes the assets and an import guide, and Claude Code recreates the design system in the client's account. Our guide to sharing a Claude design system across accounts explains the steps.
Who owns a design system built from our app?
Design systems we build follow the same licence terms as the software itself. The two described here each live in a private repository in the client's own GitHub organisation, next to the apps they describe.

Ready to transform your software?

Let's talk about your project. Contact us for a free consultation and see how we can deliver a business-critical solution at startup speed.