Generative UI (GenUI) refers to interfaces that are
dynamically generated by leveraging AI technologies, particularly large language
models (LLMs) and generative models. These interfaces adapt to user inputs,
context, and preferences, creating a more personalized, intuitive, and
engaging user experience.Generative UI moves away from traditional static or manually coded
interfaces toward ones that are automatically produced in response to user prompts,
data-driven contexts, or real-time interactions.
Clearly define your prompts to iterate on the structure of the UI output. For example,
if you want to generate a “Add to cart” button every time a product is displayed,
you can use a prompt like "Generate a 'Add to cart' button when displaying a product".
Do not try to embed stylistic elements (like button colors)in the prompt as style is maintained at the Design System level.