AI & ML

Building Dynamic Interfaces with Generative UI: A Technical Guide

· 5 min read

The concept of Generative UI Design is emerging as a potential paradigm shift in how we approach web interfaces. Products like Figma Sites already hint at this future, promising websites generated on-the-fly through simple prompts.

Setting aside the obvious problems of releasing immature technology as production-ready, what fascinates me is the research exploring Generative AI (GenAI) for personalized interface creation. This approach fundamentally inverts traditional UI design. Instead of anticipating user needs upfront, GenAI observes those needs and generates custom-tailored interfaces in real time. Every user interaction becomes unique—no two experiences are identical.

It's a radical concept. I'm not here to advocate for or against Generative UI Design (GenUI for short)—just collecting notes as I learn more about it.

Defining GenUI

Google Research (PDF):

Generative UI is a new modality where the AI model generates not only content, but the entire user experience. This results in custom interactive experiences, including rich formatting, images, maps, audio and even simulations and games, in response to any prompt (instead of the widely adopted "walls-of-text").

NN/Group:

A generative UI (genUI) is a user interface that is dynamically generated in real time by artificial intelligence to provide an experience customized to fit the user's needs and context.

UX Collective:

A Generative User Interface (GenUI) is an interface that adapts to, or processes, context such as inputs, instructions, behaviors, and preferences through the use of generative AI models (e.g. LLMs) in order to enhance the user experience.

Put simply, a GenUI interface displays different components, information, layouts, or styles, based on who's using it and what they need at that moment.

Tree diagram showing three users, followed by inputs instructions, behaviors, and preferences, which output different webpage layouts.
Credit: UX Collective

Generative vs. Predictive AI

AI isn't monolithic. It's typically split into two categories: predictive and generative.

Predictive AIGenerative AI
InputsUses smaller, more targeted datasets as input data. (Smashing Magazine)Trained on large datasets containing millions of sample content. (U.S. Congress, PDF)
OutputsForecasts future events and outcomes. (IBM)New content, including audio, code, images, text, simulations, and videos. (McKinsey)
ExamplesChatGPT, ClaudeSora, Suno, Cursor

GenAI creates new materials based on training data. GenUI specifically means generating user interfaces based on what the AI knows about the user.

Accessibility

What I'm discussing here extends beyond GenUI's strict definition of individually adaptive interfaces to include AI-generated website builders. These tools don't yet adapt to individual users, but the trajectory is clear.

My primary concern is whether GenUI can reliably create experiences that work for all users, regardless of visual, auditory, physical, or cognitive abilities. The variables are complex, and early results have been dismal.

Figma Sites is an easy target because they made the biggest commercial push into GenUI-based web development. After significant backlash, they responded by announcing updates and publishing accessibility guidance. But even these efforts have serious limitations that feel more like damage control than genuine solutions.

Other players have entered the space: WordPress, Vercel, Squarespace, Wix, GoDaddy, Lovable, and Reeady.

Some believe GenUI will not only produce accessible experiences but replace accessibility practitioners entirely. Jakob Nielsen made that claim in 2024, sparking fierce criticism from the accessibility community. Nielsen softened his stance a year later, though not by much.

I'm not qualified to prescribe best practices or predict the future of accessibility work. But when I look at Google's People + AI Guidebook, accessibility is conspicuously absent despite heavy emphasis on "human-centered" design.

Accessibility is trailing behind the hype. If GenUI is truly the future of web design, that needs to change.

Examples & Resources

Google maintains a repository of examples demonstrating how user input can generate various interfaces. Project Genie takes this further, creating "interactive worlds" that are "generated in real-time." I couldn't secure an invite, but you might have better luck.

Google also offers a GenUI SDK for Flutter apps. Connect to your LLM provider and start building adaptive interfaces.

Thesys is another adaptive GenUI platform. Copilot offers similar capabilities.

References


Generative UI Notes originally published on CSS-Tricks. Subscribe to the newsletter for more.