Generative UI Framework
3.7k 2026-04-28
thesysdev/openui
An open standard and full-stack framework for building token-efficient, streaming-first generative UIs using a compact language and React runtime.
Core Features
OpenUI Lang: a compact, streaming-first language for model-generated UI.
Built-in and extensible component libraries (charts, forms, tables, layouts).
Automatic prompt generation from defined component libraries for LLMs.
Progressive streaming renderer for real-time UI updates as tokens arrive.
Up to 67% more token-efficient than JSON for generative UI output.
Quick Start
npx @openuidev/cli@latest create --name genui-chat-appDetailed Introduction
OpenUI is a comprehensive full-stack framework designed to revolutionize how Large Language Models (LLMs) generate user interfaces. At its core is OpenUI Lang, a compact, streaming-first language that allows models to output structured UI directly, rather than just text. It includes a React runtime, built-in component libraries, and tools for generating LLM prompts from these components. This approach enables progressive UI rendering, significant token efficiency, and controlled output, making it ideal for creating dynamic assistants, copilots, and interactive applications.