Home / Insights / Product Design and Discovery

Product Design and Discovery

Generative UI: Interfaces That Assemble Themselves from Data, and Where They Are Ready for Production

Generative UI lets a model choose, configure or even write the interface a user sees, based on the data and the request in front of it. Some forms of it are ready to ship today; others are still research. This guide separates the two and shows product teams how to adopt the safe parts first.

TopicsProduct Design and DiscoveryGenerative AI and LLMsWeb and SaaS Development

Key takeaways

  • Generative UI is not one thing. It ranges from a model picking pre-built components (production-ready), through declarative layouts rendered from a trusted catalogue (maturing), to a model writing fresh interface code per request (still experimental for most products).
  • The safe pattern for 2026 is a closed component catalogue: designers own the components, the model only chooses and fills them, and every component is accessible and tested in advance.
  • Protocols are converging. MCP Apps (January 2026) and Google’s A2UI (December 2025) both deliver interface descriptions from agents to hosts, with sandboxing or a trusted catalogue as the security boundary.
  • Latency, consistency and accessibility are the real constraints. Google’s own research notes that fully generated pages can take a minute or more and are occasionally inaccurate.
  • Start with one high-variety, low-risk surface (reporting, search results, internal tools), measure task completion against the static version, and keep a static fallback.

For twenty years, product teams have designed screens in advance. A designer decides that the order page shows a table, a status badge and three buttons, and every user sees that layout whether they came to track a parcel, dispute a charge or reorder a part. Generative UI breaks that assumption: the interface is assembled at runtime, by a model, from the user’s request and the data available. Ask an assistant to compare three suppliers and it renders a comparison table with a chart; ask it to reschedule a delivery and it renders a date picker with the three feasible slots.

This article is for product leads, CTOs and design managers deciding whether generative UI belongs on their 2026 roadmap. It explains what the term covers, the three architectures in use, what the main platforms and protocols offer as of July 2026, where it is genuinely production-ready, and how to run a pilot that does not hand your brand and your accessibility obligations to a model. It draws on our product design practice, where we build component libraries and design systems in Figma and Storybook, because the design system turns out to be the most important ingredient.

What generative UI actually means

The phrase is used loosely, so it is worth being precise. In every version, a model takes part in deciding what the user sees. The difference is how much freedom it has.

Level 1: the model selects components

The application has a fixed set of components (a flight card, a weather panel, an order summary). The model decides which one to show and with what data, typically by calling a tool whose result maps to a component. Vercel’s AI SDK documents exactly this pattern: tools are defined on the server with a schema, tool calls stream to the client as typed message parts, and the client renders a matching React component when the part’s state becomes output-available, showing a loading state before that and an error state if it fails, as its generative user interfaces guide explains. To add a capability you add a tool and a component.

Level 2: the model composes a layout from a catalogue

Here the model returns a declarative description of a whole layout (a card containing a heading, a list, two buttons) and the client renders it from a catalogue of trusted components. Google’s A2UI project, introduced in December 2025, is the clearest example: the agent sends a JSON payload listing components that reference each other by ID plus a data model, the client maps it to its own native widgets, and the agent can only request components the client has pre-approved. Google’s own framing is that A2UI is a declarative data format, not executable code.

Level 3: the model writes the interface

At the far end, the model generates HTML, CSS and JavaScript for each request. Google Research described this in November 2025 when it began rolling out generative UI experiments in the Gemini app (“dynamic view” and “visual layout”) and in AI Mode in Search for paying US subscribers. In Google’s human preference evaluation, expert-designed websites still scored highest, but generated interfaces came next, with a substantial gap over raw text, markdown and the top search result. Google was also candid that generation can take a minute or more, that outputs are occasionally inaccurate, and that the evaluation did not account for speed.

LevelWho decides layoutWho writes the componentsTypical latencyProduction readiness (mid-2026)
1. Component selectionDesigners, per component; model picks whichYour teamModel call plus normal renderReady for most products
2. Catalogue compositionModel, within catalogue rulesYour teamModel call plus normal renderReady for bounded surfaces with testing
3. Generated codeModelModelCan be tens of seconds or moreExperimental; suitable for exploration and internal tools

Most of the business value we see in 2026 sits at levels 1 and 2. Level 3 is impressive in demonstrations but transfers most of the risk to the model.

Why it has become practical in 2026

Three developments have moved generative UI from prototypes to something a product team can plan around.

Models that call tools reliably

Level 1 generative UI is really tool calling with a renderer attached. As tool calling became a standard capability of the major model APIs, the main engineering problem shifted from parsing free text to designing good tools and components. That is a product design problem as much as an engineering one.

Protocols for carrying UI from agents to hosts

On 26 January 2026 the Model Context Protocol project announced MCP Apps, described as the first official MCP extension. A tool declares a UI resource using a ui:// URI; the host fetches the bundled HTML and JavaScript and renders it in a sandboxed iframe; the UI and host talk over JSON-RPC via postMessage. The announcement listed support in Claude on web and desktop, Goose and Visual Studio Code Insiders, with ChatGPT rolling out support the same week. Hosts can review HTML before rendering, log every message, and require user approval for UI-initiated tool calls. A2UI takes the other route, sending data rather than code, with early client libraries for Flutter, Web Components and Angular at launch.

Design systems that machines can read

Teams that already maintain a component library with documented props, states and usage rules have, in effect, written the catalogue a model needs. The same documentation that helps a new front-end engineer helps a model choose correctly. Teams without one discover that generative UI forces them to build it.

The practical consequence: if you have a component library and an assistant or agent feature, you can add level 1 generative UI in weeks. If you have neither, the design system is the first deliverable.

Where generative UI is ready for production, and where it is not

Readiness depends less on the technology than on the surface. A useful test is to ask how varied the user’s needs are on that surface, and how costly a wrong or confusing screen would be.

Good candidates now

  • Assistant and agent responses. Instead of a paragraph describing three options, render three cards with a select button. This is the most common and lowest-risk use.
  • Reporting and analytics. Users ask questions the dashboard designer did not anticipate. Letting the model choose between a table, a bar chart or a single figure (from your charting components) answers more questions without building more dashboards.
  • Search and comparison results. A query for a product shows product cards; a query for a policy shows a document excerpt with a link; a comparison query shows a table.
  • Internal tools and back-office workflows. Operations staff tolerate more variability than customers, and the audience is small enough to train.
  • Guided forms with branching. The model decides which fields to show next based on earlier answers, using pre-built, validated field components.

Poor candidates for now

  • Core navigation and account screens. WCAG 2.2 expects repeated navigation to appear in the same relative order and components with the same function to be identified consistently across pages; the W3C’s Understanding note on Consistent Identification explains that the point is to let users recognise familiar controls and reuse what they learned. A layout that reshuffles itself undermines that.
  • Regulated disclosures and consent. Where wording, order and prominence are prescribed (financial terms, health information, consent screens), a human-approved fixed layout is the defensible choice.
  • Payment and checkout. Every extra second and every unfamiliar layout costs conversions. Use generative UI before checkout, not inside it.
  • High-frequency expert workflows. Power users rely on muscle memory. A claims processor handling hundreds of items a day wants the same screen every time.
SurfaceVariety of user needCost of a confusing screenRecommended level
Assistant repliesHighLowLevel 1 or 2
Ad hoc reportingHighMediumLevel 2 with chart catalogue
Internal operations toolsMediumMediumLevel 2; level 3 for prototyping
Onboarding and branching formsMediumMediumLevel 1 with validated fields
Navigation, settings, accountLowHighStatic
Checkout, consent, disclosuresLowVery highStatic

Architecture options and how to choose between them

Once you have picked a surface, the architectural decision is mostly about where the boundary of trust sits.

Option A: tools mapped to components in your own app

Your backend defines tools; each tool’s output has a schema; your front end has a component per tool. This is the AI SDK pattern described above, and it can be built with any model provider. It gives you full control over look, behaviour and accessibility, and it is the right default for a product you own end to end.

Option B: declarative layouts against a catalogue

The model (or a remote agent) returns a layout description; your client validates it against a schema and renders it from your catalogue. This suits multi-platform products, because the same description can render natively on web and mobile, and it suits cases where the agent is operated by someone else, because you never execute their code. A2UI is one format for this; many teams define their own JSON schema for a handful of layout primitives.

Option C: sandboxed UI delivered by a tool server

If you want your capability to appear inside someone else’s AI host (a customer’s assistant, a chat client, an IDE), MCP Apps lets your server ship an interactive view that the host renders in a sandboxed iframe. You control the content of the view; the host controls whether and how it is shown and whether its actions need approval.

Option D: generated code

The model writes the interface. Treat the output as untrusted: render in a sandbox, strip network access, and never let it handle credentials or payments. Use it for prototyping, internal exploration and one-off visual explanations.

CriterionA. Tools to componentsB. Declarative catalogueC. MCP AppsD. Generated code
Brand and accessibility controlFullHighHigh within the viewLow
Runs inside third-party hostsNoIf host supports formatYes, in supporting hostsDepends on host
Security boundaryYour codeSchema validation and catalogueHost sandbox and approvalsSandbox only
Effort to startLowMediumMediumLow to start, high to make safe
Best forYour own web or mobile appMulti-platform or remote agentsDistributing into AI assistantsPrototypes, internal tools

Many products end up combining A and C: the same components power the in-app assistant and an MCP App that customers can use from their own AI tools.

What changes for designers and the design system

Generative UI does not remove design work; it moves it. Designers stop specifying every screen and start specifying the components, the rules for combining them and the boundaries the model must respect.

Components become contracts

Each component needs a clear purpose, documented props with types, empty, loading and error states, and examples of when to use it and when not to. The model reads the description and schema; the clearer they are, the better its choices. This is the same advice Anthropic gives about tool design in Building effective agents: describe tools the way you would brief a junior colleague, with examples and edge cases.

Composition rules

Write down what can sit inside what, the maximum number of items in a list before pagination, which components can carry a primary action, and how many primary actions a view may have. Encode these in the schema where possible so invalid layouts are rejected rather than rendered.

Accessibility by construction

If every component in the catalogue meets WCAG 2.2 in isolation, most generated layouts will too, but not all. Composition can still break heading order, focus order or announcements. Status messages for asynchronous results (“three options found”) must be exposed to assistive technology, which WCAG 2.2 addresses under Status Messages. Test composed layouts, not just components.

Predictability for repeat users

Decide which parts of a view are fixed (navigation, page title, primary action placement) and which the model may vary. Users accept a flexible content area inside a stable frame far more easily than a screen that changes shape every visit. Our earlier guide on when chat is the right interface makes a similar argument about conversational surfaces.

How to pilot generative UI in eight steps

A pilot should prove two things: that users complete tasks better, and that the system behaves within the rules. A sensible sequence:

  1. Pick one surface from the good-candidate list, with enough traffic to measure and a static version to compare against.
  2. Inventory the components that surface needs. Reuse your design system; build only what is missing, with all states and accessibility checks.
  3. Write the catalogue: schemas, descriptions, examples and composition rules. Review it with designers, not only engineers.
  4. Build level 1 first. One tool per component. Ship behind a feature flag to internal users.
  5. Create an evaluation set of 50 to 200 realistic requests with the expected component or layout for each. Run it on every prompt or model change, as you would a regression suite.
  6. Add guardrails: schema validation, a static fallback when the model output is invalid or slow, a time budget for the first meaningful render, and logging of every layout produced.
  7. Run an A/B test against the static surface. Measure task completion, time to complete, error and abandonment rates, and accessibility issues reported.
  8. Decide whether to expand, move to level 2 for more flexibility, or retire. A pilot that shows no improvement over a well-designed static screen is a useful result.

For example, a 40-person B2B distributor might pilot generative UI on its customer portal’s order-history assistant: customers ask about orders and the assistant renders an order card, a shipment timeline or a reorder form, from five existing components. That is an illustrative scope, but it shows the scale: a handful of components, one surface, measurable outcomes.

Risks, costs and a readiness checklist

Risks to plan for

  • Latency. Every generated view waits on a model call. Stream a skeleton immediately, render the component when the tool result arrives, and set a hard timeout with a static fallback. Our guide to UX audits covers how to measure where users abandon.
  • Wrong component, right data. The model may show a chart where a table was needed, or omit a key field. Your evaluation set and composition rules are the defence.
  • Injection through data. If the model reads user-generated or third-party content, that content may try to steer it into rendering misleading interfaces. Keep actions behind confirmation and never let generated views collect credentials.
  • Inconsistency over time. Model updates change behaviour. Pin model versions where you can and rerun evaluations before upgrading.
  • Analytics blind spots. Traditional page analytics assume fixed screens. Log the layout description alongside events so you can analyse what users actually saw.

Where the costs sit

The model calls are usually a modest share of cost at level 1, because outputs are short structured data rather than long text or code. The larger costs are the design system work, the evaluation set and the testing of composed layouts. Level 3 is the reverse: cheap to start, expensive to make safe, and with higher per-request model cost because the model writes the whole interface.

Readiness checklist

  • A component library with documented props, states and accessibility conformance.
  • A named surface with a static baseline and success metrics.
  • Schemas and composition rules reviewed by design.
  • An evaluation set and a process to run it on every change.
  • Fallback behaviour for invalid, slow or failed generations.
  • Logging of generated layouts linked to analytics events.
  • A decision on which protocol, if any, you need for third-party hosts (MCP Apps, A2UI or your own schema).

Frequently asked questions

Is generative UI just a chatbot with pictures?

Partly. The most common form today renders components inside an assistant’s reply. But the same approach can drive search results, reporting, forms and internal tools without any chat interface at all; the model decides which components to show based on the request and data.

Will generative UI replace our designers?

No. It shifts their work from drawing every screen to defining components, composition rules and the boundaries the model must respect. Teams with strong design systems get far more out of it than teams without.

Is it safe to let a model generate interface code?

Only inside a sandbox and only for low-risk uses. For customer-facing products, prefer a model that selects or composes trusted components. MCP Apps renders tool-provided UI in sandboxed iframes, and A2UI avoids executable code entirely by sending a declarative description.

How do we keep generated interfaces accessible?

Make every component in the catalogue conform to WCAG 2.2, keep navigation and frames static, expose asynchronous status changes to assistive technology, and test composed layouts with screen readers and keyboard-only navigation, not just individual components.

What does a first pilot typically involve?

One surface, a handful of existing components, a schema per component, an evaluation set of realistic requests, a static fallback and an A/B test against the current screen. Scope it so it can be measured within a few weeks of traffic.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. Google Research: Generative UI: A rich, custom, visual interactive user experience for any prompt (18 November 2025) — accessed 10 November 2026. Gemini app and AI Mode rollout, human preference results versus expert-designed sites and text, and stated latency and accuracy limitations.
  2. Vercel AI SDK: Generative User Interfaces — accessed 10 November 2026. Tool-to-component pattern with typed tool parts and loading, output and error states.
  3. Model Context Protocol blog: MCP Apps (26 January 2026) — accessed 10 November 2026. ui:// resources, sandboxed iframe rendering, JSON-RPC over postMessage, supported hosts and approval controls.
  4. Google Developers Blog: Introducing A2UI (15 December 2025) — accessed 10 November 2026. Declarative, catalogue-based agent UI format, security rationale and initial client libraries.
  5. W3C WAI: Understanding Success Criterion 3.2.4 Consistent Identification (WCAG 2.2) — accessed 10 November 2026. Why components with the same function must be identified consistently, relevant to layouts that change at runtime.
  6. Anthropic: Building effective agents (19 December 2024) — accessed 10 November 2026. Guidance on describing tools clearly, with examples and edge cases, applied here to component descriptions.

Which of your product surfaces would benefit from interfaces that adapt to the request?

We can review your design system and assistant features, pick a pilot surface and define the component catalogue and evaluation set before any code is written.