Skip to main content
LanguageEnglish
AI & UI6 min readOctober 2026

How do you design UI with AI?

Short answer

Start with a clear brief: who the user is, what the screen must do and which design system to follow. Use an AI tool to generate a first draft or several variants, then refine it yourself in a design tool. To move into code, connect an AI coding tool such as Claude Code or Cursor to your design tool through MCP, so it builds from your real components instead of guessing.

Core Takeaway

  • The quality of AI output depends mostly on the brief you give it
  • Use AI for drafts and variants, then make the final decisions yourself
  • Give the AI your components and tokens so the output stays consistent
  • MCP servers let AI coding tools read design files and create or edit them
  • Always check states, accessibility and responsiveness before shipping

Designing with AI works best as a loop: you describe, the AI drafts, you judge and refine, and you repeat. The AI is fast at producing options. You are responsible for choosing the right one.

Step 1: write a brief. Describe the user, the task, the content and any constraints. "A settings screen for a budgeting app, for people on phones, with sections for account, notifications and privacy, using our existing components" will give a far better result than "make a settings page".

Step 2: generate drafts. Prompt-to-UI tools such as Google Stitch or UXPin's AI assistant turn a description or a sketch into screens. Ask for several variants and compare them, rather than accepting the first one.

Step 3: refine in a design tool. Bring the best draft into Figma, Penpot or another editor. Fix hierarchy, spacing and copy, and design the states the AI usually skips: loading, empty, error and disabled.

Step 4: connect to code. AI coding tools such as Claude Code and Cursor can build the interface. Results are much better when they can read your design through an MCP server. Figma and Penpot both have one. For interactive and animated parts, ExodeUI, which we make, has an MCP server that lets the AI create and edit animations with states and spring physics from plain-language prompts, stored in an open .exode file your app plays.

Step 5: review before you ship. Check keyboard and screen reader use, contrast, reduced motion, small and large screens, and long or translated text. Treat AI output like work from a fast but new teammate: useful, but always reviewed.

Frequently asked questions

Can Claude Code design a UI?

It can build a working interface in code from a description, and it improves a lot when connected to your design tool or component library through MCP. A designer should still review the result.

What is the best AI tool for UI design?

It depends on the step. Prompt-to-UI tools are best for drafts, design tools with AI features for refining, and AI coding tools with MCP for turning designs into code.

How do I write a good prompt for UI design?

Name the user, the device, the task, the content, the components to use and the tone. Ask for several variants and for every state of the screen.

Is AI-generated UI accessible?

Not reliably. Check contrast, focus order, labels, touch target size and reduced-motion support yourself.

Related Guides & Examples

Prompt interactive UI into your app

Connect Claude Code or Cursor to ExodeUI over MCP and create animations with states and spring physics from a prompt.

Set up the MCP server
ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →