Single logo
  • Courses
  • Blog
  • About
Join on SkoolJoin on Skool

In this topic

React
  • One Request, Two Answers: the Same Post as an HTML Page and as JSON
  • A Blog Design from a Prompt: Downloading Figma Make Code and Reading App.tsx and BlogCard.tsx
  • How a Web Page Works: HTML Tags, Elements and Attributes
  • Semantic HTML: header, nav, main, aside and footer as Page Landmarks
  • HTML Forms: Labels, Names, Input Types and Where the Data Goes (GET vs POST)
  • CSS Basics: Selectors, Which Rule Wins, and the Box Model
  • CSS Flexbox vs Grid: A Nav Bar, a Card Row and a Dashboard
  • Responsive CSS: Viewport, Mobile-First Media Queries, clamp() and Dark Mode with Tokens
  • JavaScript for People Who Already Code: Syntax, Modules and Five Surprises
  • JavaScript Arrays the Functional Way: map, filter, reduce, find, sort and Object.entries
  • Async JavaScript: Promises, async/await, fetch and Promise.all
  • JavaScript in the Page: the DOM, querySelector and Events
  • npm, package.json and Vite: What npm install Fetches and How Vite Serves and Builds Your Page
  • TypeScript Essentials: Types Checked, Then Erased (Interfaces, Unions, Generics)
  • Why React, JSX and Components: The Page as a Function of Data
  • React Props and Composition: Data Down, Calls Up, Children in the Slot
  • Routing With React Router: One Page, Many Addresses
  • React Component Tests With Vitest and Testing Library: Test What the User Sees
  • End-to-End Tests for a React App With Playwright: A Full Dress Rehearsal
  • Why AI-Built Websites All Look the Same, and Four Levels That Fix It
  • Visual Hierarchy, Spacing and the 8-Point Grid: Tell the Eye What to Read First
  • Colour, Contrast and Dark Palettes: 60-30-10, Semantic Tokens and Ratios You Can Compute
  • Typography That Sells: Type Scale, Line Length and Free Font Pairings
  • The UI Element Catalogue: Buttons to Toasts, Their Jobs, States and shadcn/ui Names
  • Design Tokens: Primitive and Semantic Tokens, from Figma to CSS to Tailwind
  • Tailwind CSS 4 in React: Utility Classes, Responsive Prefixes, Hover and Dark Mode
  • shadcn/ui in React: Components You Own, Edit and Commit
  • Design Tokens to a Tailwind Theme: Light and Dark Mode with @theme inline
  • Motion in React: Entrance, Hover, Exit and Layout Animations
  • A React Dashboard: Stat Cards, a Recharts Line Chart and a Sortable Table
  • Accessibility in Practice: Dialogs, Menus and the Keyboard in React
  • Reference-Driven Design: Extract a DESIGN.md From a Site You Admire and Build From It
  • Components, Variants and Variables: One Design System in Figma and in CSS
  • Figma MCP Server: Build a React Component From a Frame, Then Write It Back
  • Claude Design: From a Brief to a Clickable Prototype, Then Hand It Off to Claude Code
  • Critiquing AI-Generated UI: Six Checks for Every Screen
  • The AI Design Landscape: Prompt to UI, Prompt to App, and Design to Code
  • Your Brand Rules Folder: One Folder Every AI-Built Page Follows
  • The Best-Practice UI Prompt: Plain Sentences That Beat the Average AI Page
  • UI Ideas From Figma Make, Google Stitch and ChatGPT: One Prompt, Three Designs
  • Google Stitch From a Sketch or Screenshot: Show the Layout, Say What to Keep
  • Stitch to Figma to Code: Turn a Stitch Screen Into Code That Uses Your Tokens
  • Figma Make: Prompt to Prototype With a Four-Part Prompt
  • Upgrade a Dated UI From One Screenshot (or a Reference Image)
  • States and Feedback: Make Every Click Get an Answer
  • A Design-Loop Skill: Claude Screenshots, Scores and Fixes Its Own UI
  • Copy Without the AI Tells: A Copy Pass on a Landing Page
  • React State, Events, Lists and Conditional Rendering: Follow One Click
  • React useEffect: When It Runs, What Cleanup Is For, and When You Don't Need One
  • Lifting State Up, Refs and React DevTools: Put State Where It Is Needed
  • Forms and Actions in React 19: Controlled Inputs, Form Actions, useActionState and useFormStatus
  • React Context and Custom Hooks: Share One Value, Reuse the Logic
  • Server State With TanStack Query: One Key, One Request, One Cache
  • Mutations and Optimistic Updates in TanStack Query: Change Data, Then Tell the Cache
  • Generate TypeScript Types, Query Hooks and Zod From an OpenAPI Spec With Orval
  • A Mock Backend in the Browser With Mock Service Worker, Generated From the Spec
  • A React Client for a FastAPI API: The CORS Wall, CORSMiddleware and the Vite Proxy
  • Forms With React Hook Form and Zod: The API's Rules in the Browser, the Server's Errors Under the Field
  • JWT Auth in a React Client With a FastAPI Backend: Log In, Carry the Token, Let the Server Decide
  1. Blog
  2. /
  3. React
  4. /
  5. Fundamentals

The AI Design Landscape: Prompt to UI, Prompt to App, and Design to Code

New AI design tools arrive every month, but they fall into three kinds: prompt to UI (Stitch, Figma Make), prompt to app (v0, Lovable, Bolt) and design to code (Figma MCP, Stitch MCP). Learn what each one gives you and which to reach for.

Chaand Sheikh

·27 November 2026·Updated 28 November 2026Fundamentals

What you will learn

  • Sort any AI design tool into one of three kinds: prompt to UI, prompt to app, or design to code
  • Say what each kind gives you back and what it is best for
  • Explain how an MCP server lets a coding tool read a real design instead of a screenshot
  • Pick a tool by the job, not by the news

Before you start

  • A rough idea of how a web page is built

There are a lot of AI tools that can design a screen, and new ones come out every month. You don't need to learn them all. You need to know that they come in three kinds, because the kind tells you what you'll get back and what the tool is good for.

The examples use Orbit, a sample team project app used across these lessons.

A sketch artist, an architect and a builder

Imagine you want a new house. A sketch artist hears "a house with a big window" and five minutes later there's a drawing on paper. Fast, and full of ideas. An architect draws it too, but with rules: measurements, materials, the same style in every room. A builder doesn't give you a drawing at all. The builder gives you a working house.

Different jobs. On a real project you often use all three, and the three kinds of AI design tool line up with them.

Three kinds of AI design tool Prompt to UI the sketch artist in: one sentence out: screens best for ideas and first drafts Stitch, Figma Make Prompt to app the builder in: one sentence out: screens, code, data, a live link fast demo, so inspect the code v0, Lovable, Bolt Design to code the architect design file + MCP plug + AI coding tool out: code that matches your design system Figma MCP, Stitch MCP
Learn the kind, not the name. Each column answers "what do I get back?" differently.

Prompt to UI: the sketch artist

You type a sentence, for example "a dashboard for Orbit with a task chart and a team list", and a few seconds later you get screens: a sidebar, a chart, a list of people.

Google Stitch and Figma Make are two examples. More arrive every year, so don't try to learn the names. Learn the kind. This kind is best for ideas and first drafts. You get a look, not a finished app. Stitch is the one used most in this section; see Google Stitch From a Sketch or Screenshot.

Prompt to app: the builder

Again you type a sentence: "Build Orbit with a login, a board, and saved tasks." This time you get a whole app back: the screens, the code behind them, a place to keep the data, and even a live link you can open.

v0, Lovable and Bolt are examples of this kind. It gets you to a working demo fast. Check the code and the design before you trust it, though. Think of a house built in one day: it stands, but you still want an inspector to walk through it.

Design to code: the architect

Here the design comes first. You start with a design file in Figma or in Stitch. Then comes MCP, which is just a plug that lets one tool talk to another. On the other side of the plug is your AI coding tool, which can now read the real design rather than a screenshot.

What comes out is code that matches your design system: the same colours, the same spacing, the same buttons. Figma and Stitch both have an MCP server like this. The design stays the source of truth, and the code follows it. The Figma version is shown step by step in Figma MCP Server: Build a React Component From a Frame.

Which tool for which job

Your jobKindExamples
Explore ideas, make first draftsPrompt to UIStitch, Figma Make
Get a working demo fastPrompt to appv0, Lovable, Bolt
Design with your own rulesDesign with a systemClaude Design, Figma
Turn a design into codeDesign to codeFigma MCP, Stitch MCP

Pick the tool for the job, not the tool in the news. Tools change; the jobs stay the same. For the "design with a system" row, see Claude Design: From a Brief to a Clickable Prototype.

Prompts to try

Paste one of these into Claude, ChatGPT or Copilot and adapt it.

Sort the tools:

Sort these AI design tools into three kinds: prompt to UI, prompt to app, and design to code. The tools are Google Stitch, Figma Make, v0, Lovable, Bolt, Figma MCP and Stitch MCP. Show the result in a table with one sentence per tool.

Describe one screen in one sentence:

Write one plain, specific sentence that describes an Orbit dashboard with a task chart and a team list. I will paste it into a prompt to UI tool.

Compare two drafts:

I have two generated drafts of the same Orbit screen. Compare them in a short table with rows for layout clarity, consistency with our design tokens and the effort to finish. Then say which one to keep and why.

Common mistakes

  • Learning tool names instead of kinds. The names change every few months.
  • Treating a prompt-to-UI draft as an app. It's a look, not working code with data.
  • Trusting a one-day app. A prompt-to-app result still needs a code and design review.
  • Feeding a coding tool screenshots when an MCP server could give it the real design.

Try it yourself

Write one sentence that describes an Orbit screen. Give it to two different kinds of tool, compare the results, and decide which one you would keep. AI drafts, and you decide.

Tried the exercise? Share your answer or ask a question.

The StudyEasy AI Community is free to join, with the lesson files, notebooks and code.

Join free on Skool

Keep going in React · 37 of 59

Previous
Critiquing AI-Generated UI: Six Checks for Every Screen
Next post
Your Brand Rules Folder: One Folder Every AI-Built Page Follows

Related course on Udemy

The Python Architect Masterclass: Full Stack to AI Engineer

Python, Django, FastAPI, React, Docker, AWS, LLMs, RAG, agents and MCP, from first steps to AI engineer.View on Udemy ↗: The Python Architect Masterclass: Full Stack to AI Engineer (paid course, opens in a new tab)

Related posts

One Request, Two Answers: the Same Post as an HTML Page and as JSON

Ask a Django blog for the same post twice: once as a 12,731-byte HTML page built by a template, once as 2,976 bytes of JSON built by a serializer. Compare the headers, see who builds the page, and why the server still owns every write.

A Blog Design from a Prompt: Downloading Figma Make Code and Reading App.tsx and BlogCard.tsx

Make a blog design from a prompt in Figma Make, download src.zip, unzip it with Python's zipfile module, and read the two files that matter: App.tsx with its selectedPost state and BlogCard.tsx with its props.

How a Web Page Works: HTML Tags, Elements and Attributes

A web page is a text file full of labelled pieces. Learn tags, attributes and nesting with three tiny pages, and see what breaks when an attribute or a closing tag is wrong.

Semantic HTML: header, nav, main, aside and footer as Page Landmarks

The same page written as div soup and with semantic tags looks identical, but only one gives screen readers and search engines landmarks and an outline. Plus tables, div, span and the one-main rule.

On this page

  • A sketch artist, an architect and a builder
  • Prompt to UI: the sketch artist
  • Prompt to app: the builder
  • Design to code: the architect
  • Which tool for which job
  • Prompts to try
  • Common mistakes
  • Try it yourself
Community · Free to join
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Related course on Udemy

The Python Architect Masterclass: Full Stack to AI Engineer

Python, Django, FastAPI, React, Docker, AWS, LLMs, RAG, agents and MCP, from first steps to AI engineer.View on Udemy ↗: The Python Architect Masterclass: Full Stack to AI Engineer (paid course, opens in a new tab)

Single logo

Empowering Education, One Course at a Time

About
About usContact us
Legal
Terms of UsePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.