Writing
How to Use AI to Build a Prototype Without Writing Code
Describe the user, the task and the screens, and an AI prototyping tool returns a clickable prototype in minutes. How to write the brief, what to check, how to test it, and why the generated code shouldn’t become the product.
By Ka Lun Chan · AI / Delivery
Can you use AI to build a prototype without writing code?
Yes. Describe who the user is, what they are trying to do and which screens they need, and a tool such as Figma Make, v0, Lovable, Bolt or Claude returns a clickable, working prototype in minutes. Test it with real people, keep the decisions that held up, and rebuild the product properly. The generated code is a sketch.
This is the cheapest version yet of the advice in Figma prototype or code first: answer the open question before production code exists. It works for three reasons.
- It’s faster than drawing every screen and wiring every link by hand, so you can try two or three versions of a flow instead of one.
- The result behaves like software. Forms accept input, lists scroll and buttons do something, so a usability test feels closer to the real thing.
- Product owners, founders and developers can make one without waiting for a designer or an engineer, as long as someone with design judgment reviews it.
That last condition matters. Nielsen Norman Group tested these tools in real design work and called the results “good from afar, but far from good”. The tools follow directions well and lack the judgment of an experienced designer.
Which AI prototyping tool should you start with?
Pick by where you’re starting and what the prototype has to do. Teams whose designs live in Figma should start with Figma Make. v0 produces code in a stack React teams already know. Lovable and Bolt suit a prototype that needs sign-in or saved data, and Claude is enough for one screen or one interaction.
| Tool | You start with | You get | A good fit for |
|---|---|---|---|
| Figma Make | A prompt, or an existing Figma design attached to it | An interactive app you can share as a preview or publish to a URL | Teams already designing in Figma |
| v0 | A prompt, a wireframe, a screenshot or a Figma file | A Next.js app using Tailwind and shadcn/ui, deployable or sent as a pull request | Teams that build with React and Next.js |
| Lovable | A prompt | A full-stack app with a database and sign-in, synced to Git and published to a live URL | Prototypes that need accounts or saved data |
| Bolt | A prompt | A site or app with a built-in database and hosting | Dashboards and internal tools |
| Claude artifacts | A conversation | A single page or a small interactive tool, private until shared | One screen or one interaction |
They all change quickly, so check the current documentation before you commit. For a prototype, the differences matter less than they look. Any of them can produce something clickable enough to test. The bigger decision is how much real backend you want, because a prototype with a real database and real accounts brings real data questions with it.
How do you write a good brief for an AI prototype?
Write it like a short design brief: the user, the task, each screen and its fields, the states that aren’t the happy path, realistic sample data and your constraints. Short prompts produce generic layouts. Detailed ones produce something worth testing.
NN/g found the same: longer prompts with clear, detailed design requirements worked better, and attaching images or Figma frames helped the tool match an existing look. Here’s the level of detail I’d aim for, using a made-up reschedule flow for a clinic:
Build a clickable prototype for usability testing. Use fake data only.
Who: patients of a small physiotherapy clinic, mostly on their phones,
some over 65.
Task: move an existing appointment to another day without calling.
Screens:
1. My appointments: upcoming visits with date, time, therapist, location.
Each has "Reschedule" and "Cancel".
2. Pick a new time: next 14 days, available slots grouped by day,
filter by therapist.
3. Confirm: old time, new time, cancellation policy, "Confirm change".
4. Done: the new time, "Add to calendar", "Back to appointments".
Show these states: no upcoming appointments, no free slots in 14 days,
the chosen slot was just taken, and a loading state on confirm.
Use a long therapist name and a long clinic address in the sample data.
Design for a 360px-wide phone first. Use large tap targets, visible focus,
and labels on every input.A few parts of that brief do most of the work:
- Saying it’s for usability testing with fake data sets the tool’s expectations, and yours.
- Naming the users and their device steers the layout better than any style instruction.
- Listing fields per screen stops the tool from inventing data, and later becomes the start of your API contract.
- Asking for the unhappy states up front is cheaper than discovering they’re missing in the test.
- Long names and narrow screens expose layouts that only work with tidy sample data.
Then iterate in small steps. “Make the confirm screen show the cancellation policy above the button” gets a better result than regenerating the whole thing.
What should you check before showing it to anyone?
Check that the tool chose the right pattern for the task, then the labels, every state, narrow screens, long text and keyboard use. A generated prototype looks finished, which makes its mistakes easy to miss.
NN/g saw two recurring problems. The visual style was generic, and the tools sometimes picked the wrong design pattern entirely: asked for a profile page, one produced a social-media profile. That second problem is the one to look for. A polished screen built on the wrong pattern will test badly, and the reason won’t be obvious.
- Does the flow match how people actually do this task, or how a generic app does it?
- Are the labels in your users’ words? Database field names tend to leak into generated screens.
- Do the empty, error and loading states exist, and do they say what to do next?
- Does it still work at 360 pixels wide, with the long names in your sample data?
- Can you get through it with a keyboard alone, and can you see where the focus is?
This is the step where a designer, or anyone with design experience, earns their time. Reviewing a generated flow takes far less effort than drawing one, but it can’t be skipped.
How do you test an AI prototype with users?
The same way as any prototype: give a few real users a task, watch without helping, and note where they hesitate or go wrong. Share it as a preview link, keep the fake data, and fix the problems between sessions.
NN/g lists rapid usability-testing prototypes as one of the good uses of these tools, alongside early ideation and proof-of-concept demos. Because the prototype is quick to change, you can fix a confusing label after the second session and test the new version in the third. The eight-stage prototype and validate workflow covers how to recruit, run the sessions and agree scope afterwards.
Keep people focused on the task. If they comment on colors, the prototype may be too polished for the question you’re asking.
What are the risks of AI-generated prototypes?
The main risks are that it looks done, that a full-stack prototype is a real app on the internet, and that its data model was shaped by the screens. None of them stops you prototyping. All of them need managing.
It looks done
A working demo invites the question “can we ship this next month?” Say clearly, in the demo and on the prototype itself, that it’s a test artifact. NN/g’s own summary is that AI prototypes are still just prototypes.
It may be a live app
Tools like Lovable and Bolt create a database, accounts and a public URL. That makes the prototype more realistic, and it also means anything you put in it is on the internet. Use fake data only, never real customer records or real credentials. Keep links unlisted or limited to your organization where the tool allows it, and take the prototype down when testing ends.
The data model came from the screens
A generated backend models whatever the prototype showed, which is the wrong starting point for a real system. As I argued in the post on mockups and backends, the screens should shape the API responses, and the database should be modeled on the domain.
The code skips the hard parts
Error handling, authorization, tests, accessibility, logging and the cost of running it at scale aren’t what a prototype is for. Some tools can sync to Git or open a pull request, so reusing parts is possible. Any code that goes forward should get the same review as code written by a person.
What do you hand to the team after testing?
Hand over the decisions: the flow that worked, the fields on each screen, the states, the wording that tested well and the problems you fixed. Those become the user stories and the API contract the team builds from. The code is optional.
- Record what you tested, with whom, and what changed between rounds.
- Turn each tested flow into a user story with acceptance criteria, including the unhappy states.
- List each screen’s fields and write the API contract from them.
- Keep the prototype link with the stories, so developers can click through the intended behavior.
- Decide deliberately whether any generated UI code is worth keeping, and review it if so.
Done this way, the prototype costs an afternoon and answers the questions that usually surface halfway through development.
Sources
Checked in November against Nielsen Norman Group’s study and each tool’s own documentation. Tool features change often, so treat the table as a starting point. The example brief is made up, and the workflow and opinions are mine.
Short answers
Can I build a prototype with AI without writing code?
Yes. Tools such as Figma Make, v0, Lovable, Bolt and Claude turn a written description of the user, the task and the screens into a clickable, working prototype. You describe and review; the tool writes the code. The result is good enough to test with users, but it isn’t production software.
Which AI tool is best for prototyping?
It depends on where you start and what the prototype has to do. Figma Make suits teams already designing in Figma. v0 suits teams that build with React and Next.js. Lovable and Bolt suit prototypes that need sign-in or saved data. Claude artifacts suit a single screen or a small interactive tool.
Is an AI-generated prototype good enough for usability testing?
Usually, once you have reviewed it. Nielsen Norman Group lists rapid usability-testing prototypes as a good use of AI prototyping tools, but also found generic styling and wrong design patterns. Check the pattern, the labels and every state before you put it in front of users.
Can I use an AI-generated prototype in production?
Not as it stands. Treat it as a reference. Keep the flow, fields, states and wording that tested well, then build the product through normal design, review and testing, with a data model, security and error handling designed on purpose.
Before you write the prompt
Write one sentence about what you need to learn from the prototype. If the tool gives you something beautiful that doesn’t answer that question, it hasn’t saved you any time.