All posts
EngineeringNov 22, 20265 min read

Claude Code UI design: draw app screens on your own design system

Install the app, add the MCP server, set tokens, start from a Universe flow, review on the canvas and then build. The real commands, step by step.

Arya Nugroho

Staff Editorial

To get Claude Code to design app screens on your own design system, connect it to a design canvas over MCP, put your tokens in the file, start from a proven flow and review the result on the canvas before you build. With Wonderblok that takes about five steps, and you can do the first three in a few minutes.

This is the hands-on version, with the real commands. For the short pitch, see the design tool for Claude Code.

Step 1: install the app

Wonderblok runs on macOS, Windows and Linux. Download it from the latest release and open it once. Your designs are .wonderblok files on your device, and Claude Code edits the file you have open.

Step 2: add the MCP server

Add Wonderblok to Claude Code once per computer. On macOS, with the app in Applications:

claude mcp add --scope user wonderblok -- \  "/Applications/Wonderblok.app/Contents/MacOS/wonderblok-app" mcp

On Windows and Linux the app path differs. Settings › Agents (MCP) in the app shows the exact command for your install. Then start a new Claude Code session and try this prompt:

List my open Wonderblok files and describe the first frame.

If Claude Code answers with your file, you are connected. If not, type /mcp in Claude Code to see whether wonderblok is listed.

Step 3: set your tokens

Tokens are what keep Claude Code on your design system. A color or font the agent draws must come from them, and a color that matches no token is refused. If you already have a codebase, ask Claude Code to read your theme (CSS variables or a Tailwind theme) and copy it in:

Read this project's theme and set the tokens in my Wonderblok filewith the same names the code uses: colors, fonts, spacing, radiusand text styles. Then call get_tokens and show me the result.

Under the hood this uses get_tokens and set_tokens. Because the names match your code, what Claude Code builds later uses your names instead of raw values.

Step 4: start from a Universe flow

Do not ask for a screen from a blank prompt. Ask for a flow. Universe has 429 of them, grouped in categories such as Account and Finance. Each lists its screens, the patterns behind them and the states to cover.

  • use_pattern without a flow searches Universe by query or category, so the agent can find the flow that fits.
  • use_pattern with a flow returns its screens, patterns and states (and each screen’s outline on request), and add_flow starts its empty frames in your file. Both need Pro.
  • find_flows lists the flows that match a frame you already drew, and works on Free.

A prompt that uses it, for example with Account › Onboarding:

Use use_pattern to read the Account > Onboarding flow, then add_flowit to my file. Draw each screen with my tokens, and cover everystate the flow lists.

On Free, you can still open 3 Universe flows a month in full on the website and give their rules to the agent yourself. Free MCP use is 100 calls a week.

Step 5: review on the canvas

The screens appear in the app while Claude Code works, so you can watch it happen. Look at them at mobile and desktop widths, and check them against the flow’s list of states. Every write comes back with any guideline it breaks, such as small text, low contrast, placeholder copy or a missing empty, loading or error state, and Claude Code is told to fix those before moving on. Change anything you want by hand. Your edit and the agent’s share one file.

Step 6: build from the design

When the screens look right, ask Claude Code to build them. It reads the frame with get_spec, which gives it token and component names for your stack, marks the screen as being built, and after it runs the page it calls mark_built with the URL. Wonderblok then compares the running page with the design and shows whether it matches or differs.

  1. Ask for a screen from a flow, not from a blank prompt.
  2. Keep tokens in the file so the agent cannot invent colors.
  3. Review before building, then build from the frame.

In short

  • Install Wonderblok and add the MCP server with the claude mcp add command above.
  • Set tokens from your own theme so Claude Code stays on your design system.
  • Start from a Universe flow with use_pattern and add_flow (Pro), or find_flows on Free.
  • Review on the canvas, then build with get_spec and mark_built.

Not sure what a flow holds? Open Finance › Send money to see the screens and states one flow lists. For why this approach works, read vibe design.

Keep reading

Start from a flow that works.

Open Universe, pick a flow and give its rules to your agent.

Get Wonderblok App