OpenUI examples

August 26, 2026 ยท View on GitHub

These projects showcase what OpenUI can do with different runtimes, application frameworks, design systems, coding harnesses, and specialized libraries. They are standalone reference implementations, not starter templates; use the OpenUI CLI to scaffold a new application.

Each example has one primary home based on the integration seam it is intended to teach. Cross-cutting technologies belong in that example's README rather than in duplicate directory trees.

Categories

CategoryUse it for
agent-frameworksAgent runtimes and orchestration frameworks that produce or stream OpenUI output
app-frameworksApplication frameworks or platforms that host an OpenUI client or server
design-systemsComponent systems adapted into an OpenUI component library
harnessesCoding-agent harnesses presented through an OpenUI interface
miscellaneousDistinct capabilities, specialized libraries, and backend services that do not justify another top-level category

miscellaneous is intentionally flat. If several examples develop the same stable integration seam, promote that seam to a top-level category instead of adding nested miscellaneous taxonomies.

Catalog

Agent frameworks

ExampleDemonstrates
Google ADKA Google ADK TypeScript agent streaming OpenUI Lang to a Next.js client
LangChainLangGraph/DeepAgents integration through the OpenUI LangChain adapter
MastraA Mastra agent connected to OpenUI through AG-UI
Vercel AI SDKstreamText, tools, and OpenUI rendering with the Vercel AI SDK
Vercel EveAn Eve agent rendered through Agent Interface

App frameworks

ExampleDemonstrates
FastAPIA Python FastAPI streaming backend with a React OpenUI client
React NativeAn Expo client rendering native OpenUI components from a Next.js backend stream
SvelteOpenUI Lang parsing and rendering in SvelteKit
VueOpenUI Lang parsing and rendering in Nuxt and Vue

Design systems

ExampleDemonstrates
Material UIA broad Material UI component library for generated interfaces
shadcn/uiA broad shadcn/ui component library for generated interfaces

Harnesses

ExampleDemonstrates
Grok BuildGrok Build coding sessions and tool activity in Agent Interface
PiA Pi coding-agent session streamed into Agent Interface

Miscellaneous

ExampleDemonstrates
HandsontableGenerated spreadsheet interfaces backed by Handsontable
HTML artifactSandboxed HTML artifacts as an OpenUI capability
React EmailGenerating and previewing emails with the OpenUI React Email library
SupabasePersisted OpenUI conversations and threads with Supabase

Run and verify

Every JavaScript application under examples/ is standalone: it has its own manifest, dependencies, scripts, and canonical pnpm lockfile. Installing the repository root does not install any example dependencies.

Enter the application directory you want to run, then use your preferred package manager:

pnpm install --ignore-workspace
# or: npm install
# or: bun install

The pnpm flag prevents the command from climbing to this repository's ancestor workspace; it is not needed after copying an example elsewhere. The scripts do not invoke pnpm internally, so the corresponding pnpm dev, npm run dev, and bun run dev commands are equivalent. FastAPI's JavaScript application is in app-frameworks/fastapi/frontend; React Native has separate applications in app-frameworks/react-native/backend and app-frameworks/react-native/chat-app.

Repository maintainers can install every application from the repository root with:

pnpm examples:install

Follow an example's README for its environment variables and development command. From any example directory, run its credential-free verification contract with:

pnpm verify
# or: npm run verify
# or: bun run verify

To verify all examples sequentially against the pinned published OpenUI packages, run:

pnpm examples:verify

Examples that use static system prompts generate them locally before dev, build, and verify. Generated prompt and spec files are ignored by Git and should not be committed.

All @openuidev/* dependencies are exact published versions rather than links to packages in this repository. The manually triggered Update example OpenUI packages workflow updates them together, refreshes every application's pnpm-lock.yaml, verifies every example, and opens or updates one pull request when versions change.

pnpm lockfiles are the reproducibility contract for repository CI; npm and Bun users can generate their native local lockfiles, which are ignored under examples/ to avoid maintaining three lock formats for every application.

Maintenance contract

Every retained example should:

  • showcase a distinct OpenUI capability or maintained integration;
  • remain runnable without depending on another example;
  • document its purpose, stack, prerequisites, run command, architecture, key files, verification command, and extension points;
  • expose a credential-free verify script that checks the example's relevant build, types, and local tests;
  • generate derived prompts and specs locally rather than store them in the repository;
  • depend on exact published @openuidev/* versions rather than root workspace packages;
  • use a normalized @openuidev/example-* package name and keep repository links current.

Delete examples that duplicate an authoritative CLI template, are maintained elsewhere, substantially overlap a stronger example, or no longer justify their maintenance cost.