A generated UI is not a design-system prototype
v0, Figma Make, and agent-driven canvas exports made a polished screen cheap. The trap is treating that screen as a prototype of your product. It is usually a prototype of a generic stack: a fresh Button, a fabricated stepper, spacing that almost matches your tokens. On BuilderHelp and client Next apps we already have the real components. A useful coded probe imports them. A generated UI that never opens those files answers a different question — whether a model can invent something that looks shippable — and then quietly steals the keep decision for the real system.
Looks finished is not on your system
A design-system prototype has one job: prove the flow can be expressed with the components, tokens, states, and accessibility patterns you already ship. That is a different instrument from a clickable Figma that never hits code, and from a feasibility probe against a hard seam. The artifact has to import the real Button, use the real spacing scale, and hit the real empty and error states — or it is not testing the system.
Generated UIs skip that contract by default. Without Code Connect or an explicit "use our library" constraint, agents rebuild what they see: progress bars posing as steppers, one-off cards, color literals that almost match the brand. The demo impresses because it is complete. Completeness is the wrong metric. Coverage of your system is the metric.
We already wrote that higher fidelity is not a better answer, and that a curated walkthrough is not evidence. This is the sibling failure in the AI era: fidelity arrives before the system does. The room sees a product. Engineering inherits a pile of orphans.
Name what the artifact is allowed to prove
A throwaway generated screen can still be useful. It answers mental model and early pathfinding when you have no library yet, or when the risk is whether the story makes sense at all. Label it that way: vision, alignment, throwaway. Do not cite it as proof that the design system can carry the flow.
A system prototype answers composition risk. Can this booking step be built from our existing primitives without inventing a third modal pattern. Do our form fields support the validation copy. Does the field app's dense list component survive this new filter row. Those questions die if the demo used someone else's kit.
Write the allowed conclusion on the brief before the first prompt. If the question is "can our system express this," the first acceptance check is import paths and token references — not screenshots. If the question is "do people understand the idea," a generated canvas is fine, and it expires when that question closes.
Force the system into the loop
When we run a coded probe on an existing product, the scaffold starts from the real package: shared UI, tokens, Storybook stories if they exist. Prompts that generate screens must name those imports. Figma-to-code runs should prefer Code Connect mappings so the agent receives production snippets instead of inventing React from pixels.
If Code Connect is missing, we still do not treat the first export as the prototype. We either map the components first, or we rebuild the thin path by hand on top of the library in a day or two. The second option is often cheaper than debugging a generated tree that almost looks like yours.
For greenfield with no system yet, say so. The prototype is allowed to invent components — and the closeout must list which inventions would become system candidates versus which die with the experiment. Leaving orphan components in the repo is how a throwaway demo becomes accidental architecture.
What breaks when you promote the orphan
Promotion is the failure mode. A stakeholder bookmarks the generated deploy. A ticket says "productionize this." Nobody notices the Button is not the Button. Accessibility patterns diverge. Dark mode and reduced motion never existed in the demo. The design system gains a second, quieter source of truth in a feature branch.
We have seen the same shape on multi-surface products. BuilderHelp's web and field apps do not share a component library on purpose — different hands, different density. A generated "shared" screen that ignores that split teaches the wrong lesson: that one invented kit can stand in for both. The prototype should respect the surface boundary the product already chose.
Kill the promotion path in writing. Throwaway generated UIs get a disposal date. System prototypes get a keep/kill against composition criteria. Crossing those lanes is how you schedule a rewrite under a shipping label.
What we check before calling it a system prototype
Every interactive control traces to an existing component or a named candidate with an owner. Spacing, type, and color come from tokens, not from model-chosen literals. Empty, loading, and error states use the patterns the library already documents.
The brief still names the one decision the artifact may change, the shortcuts that limit that conclusion, and the expiry. A system prototype can still be thin. It cannot be foreign.
If those checks fail, rename the artifact. Call it a vision screen or a throwaway. Keep learning from it if the question was early. Do not let it vote on whether your design system is ready to carry the flow — it never ran on the system.
Questions
- When is a generated UI still the right first artifact?
- When you have no system yet, or the open risk is story and mental model — not composition. Label it throwaway, timebox it, and write which conclusions it is forbidden to support.
- How is this different from a clickable prototype or a fidelity climb?
- A clickable Figma tests pathfinding without code. A fidelity climb picks the rung that matches the risk. A design-system prototype specifically tests whether your library can express the flow. Generated UI often skips that test while looking like it passed.
- Do we need Code Connect before any AI-assisted prototype?
- No — but without it, force imports by hand or rebuild the thin path on the real components. Code Connect reduces invented controls; it does not replace the rule that system claims need system imports.
Sources
- Figma Code Connect — Maps design components to production code so agents get real imports, not invented UI
- Better Code, Fewer Tokens: Code Connect in MCP — Evals: without mappings, agents fabricate components; with them, they reuse the system
- Field study: Prototypes over mockups — Code-first prototypes on the real design system vs canvas-generated Make output
- Clickable Prototype or Code Prototype? Decision Matrix 2026 — Match instrument to risk; generated polish is not the same as technical proof