Back to Articles

Ladom UI and Claude: Designing and Building With One System

Most teams now use AI in two places: one tool to sketch the screen, another to write the code. Each one invents its own buttons.

What if both read the same design system?

Two tools, two different products

In most teams AI now helps in two places. One tool sketches the screen, another writes the code. Each one fills the gaps with its own guesses, so the screen you approved and the screen you ship slowly drift apart.

We wrote that AI needs a design system’s context to stay consistent, and that without it you get AI slop. This article shows how that context reaches both steps with Ladom UI and Claude.

Where Ladom UI meets Claude

Ladom UI starts from one Figma file. Its tokens and React components are built from that file, and Claude reaches them in three places:

  • On claude.ai, the design system: the Ladom UI design system on claude.ai holds the tokens, the brand book and every component with a live preview and its usage rules. When you design screens with Claude, it assembles them from these components instead of drawing new ones.
  • In Claude Code, the skill: npx ladom-ui skill adds a skill that teaches Claude the components, the tokens and the rules: use a component when one fits, never hard-code a value, ask for the brand colour and font before setup.
  • Between them, the CLI: npx ladom-ui add copies the same components into your project, so the names in the design are the names in the code.

A Selectbox in the design is the Selectbox in the code. Nobody has to guess what was meant.

When design and code read the same system, the hand-off stops being a translation.

How to do it: a project in five steps

Take an example: an appointments panel for a clinic. Here is the order we follow.

1. Design the screen with the design system

Open the design system on claude.ai and describe the screen in plain words: “A list of today’s appointments: a table with time, client and status, a search field above it, a button to add an appointment.” Claude builds it from Table, Badge, Input and Button. Ask it to name the components it used; that list is your shopping list for step 4.

2. Decide the brand before the code

Two answers turn the neutral system into your product: a brand colour (a hex code) and a font from Google Fonts. Settle them with the people who own the brand now, not in code review.

3. Set up the project in Claude Code

In a React or Next.js project, run three commands (the full guide is on the installation page):

  • npx ladom-ui init --brand "#2563eb" --font "DM Sans" copies the tokens and builds the theme from your brand.
  • npx ladom-ui skill adds the Claude Code skill, so every session starts with the rules.
  • npx ladom-ui add table badge input button copies the components from step 1.

4. Build screen by screen from the design

Give Claude the approved design and ask it to build the screen with the components on the list. When the screen needs something the system doesn’t have, the skill tells Claude to say so instead of inventing it. That is the moment to decide: a new component, or an existing one used differently.

5. Stay up to date

The copied files are your code. npx ladom-ui list shows what has changed, and npx ladom-ui update updates only the files you haven’t edited. Pro components such as AppShell and StatCard are marked PRO in the design system, so you know before you build that they need a license key.

What changes for the team

  • Designers review real components, not drawings of them.
  • Developers build instead of translating a mockup.
  • Product leaders see a working screen in a day that already looks like the product.
  • Consistency becomes the default, not a review comment.

Conclusion

AI made each step faster. A shared design system makes the steps fit together.

If you want this flow in your own team, with your brand and your components, that is what our design system consulting sets up.

The tool that sketches and the tool that builds should speak one language. That language is your design system.

Let's create something
unique together

Book a call