OpenUI turns natural-language UI descriptions into rendered HTML you can iterate on in the browser. It can export results to React, Svelte, Web Components, and other front-end formats.
Overview
OpenUI targets developers and designers who want to prototype interface ideas quickly without hand-coding every screen first. You describe a component or layout in plain language, view the result rendered live, and request revisions in conversation until the output matches your intent.
The tool can translate generated markup into multiple framework formats, which helps teams move from a sketch to starter implementation code. It was built at Weights & Biases to experiment with LLM-assisted application tooling.
Model access is flexible: it supports OpenAI, Groq, and other providers routed through LiteLLM, including Gemini, Anthropic, Cohere, Mistral, compatible OpenAI endpoints, and local Ollama models such as Llava for vision workloads. Environment variables select keys and endpoints, and custom LiteLLM proxy configuration files can override defaults.
You can try a hosted demo or run the stack locally with Docker as the preferred path, optionally wiring in host-side Ollama. Python source installation and dev container workflows are also documented for contributors.
Key features
- Natural-language UI generation
- Live in-browser HTML preview
- Iterative change requests
- Export to React and Svelte
- Web Components output
- Multiple LLM provider support
- LiteLLM proxy configuration
- Ollama and local model integration
Use cases
- Rapid UI wireframe prototyping
- Exploring layout ideas with LLMs
- Converting mock HTML to React
- Testing W&B-style LLM app tooling
- Local private UI generation with Ollama