The Open Standard for Generative UI
Refine OpenUI Cloud callouts in Lang docs (#846)
Zahle Khanb145d59985a8
diff --git a/docs/content/docs/openui-lang/defining-components.mdx b/docs/content/docs/openui-lang/defining-components.mdxindex 27a77db6b..fb3cb1ec4 100644--- a/docs/content/docs/openui-lang/defining-components.mdx+++ b/docs/content/docs/openui-lang/defining-components.mdx@@ -5,6 +5,15 @@ description: Define OpenUI components with Zod and React renderers.Use `defineComponent(...)` to register each component and `createLibrary(...)` to assemble the library.+<Callout+ type="info"+ icon={<span className="hidden" aria-hidden="true" />}+ className="my-6 border-fd-border bg-fd-muted/30 px-4 py-3.5 ps-4 shadow-none [&>div:first-child]:hidden"+>+ Start with responsive, accessible components for dashboards, forms, reports, and slides. [Explore+ OpenUI Cloud](/docs/openui-cloud/build/chat#built-in-component-library)+</Callout>+## Core API```tsxdiff --git a/docs/content/docs/openui-lang/how-it-works.mdx b/docs/content/docs/openui-lang/how-it-works.mdxindex 36d6f1e54..6fe5e15b8 100644--- a/docs/content/docs/openui-lang/how-it-works.mdx+++ b/docs/content/docs/openui-lang/how-it-works.mdx@@ -26,6 +26,15 @@ The Renderer parses the generated code. When it encounters a `Query("list_ticketThe LLM generated the wiring. The runtime executes it.+<Callout+ type="info"+ icon={<span className="hidden" aria-hidden="true" />}+ className="my-6 border-fd-border bg-fd-muted/30 px-4 py-3.5 ps-4 shadow-none [&>div:first-child]:hidden"+>+ Keep generative UI reliable with output correction, model fallbacks, and monitoring. [Explore+ OpenUI Cloud](/docs/openui-cloud/production-readiness).+</Callout>+## What this enables- **Reactive dashboards** with date range filters, auto-refresh, and live KPIs computed from query resultsdiff --git a/docs/content/docs/openui-lang/index.mdx b/docs/content/docs/openui-lang/index.mdxindex b40ae4573..274a155a4 100644--- a/docs/content/docs/openui-lang/index.mdx+++ b/docs/content/docs/openui-lang/index.mdx@@ -7,6 +7,15 @@ import { TryItOut } from "./components/try-it-out";OpenUI is a full-stack, renderer-agnostic Generative UI framework built around a compact, streaming-first language. It offers official React support with built-in component libraries and ready-to-use chat interfaces, plus community-supported integrations for other frameworks. OpenUI Lang uses up to **[67% fewer tokens](/docs/openui-lang/benchmarks)** than JSON. Generate anything from rich chat responses to [fully interactive dashboards](/docs/openui-lang/how-it-works).+<Callout+ type="info"+ icon={<span className="hidden" aria-hidden="true" />}+ className="my-6 border-fd-border bg-fd-muted/30 px-4 py-3.5 ps-4 shadow-none [&>div:first-child]:hidden"+>+ Take generative UI to production with responsive interfaces, editable artifacts, and built-in+ reliability. [Explore OpenUI Cloud](/docs/openui-cloud/build/chat)+</Callout>+## What is Generative UI?Most AI applications are limited to returning text (as markdown) or rendering pre-built UI responses. Markdown isn't interactive, and pre-built responses are rigid (they don't adapt to the context of the conversation).diff --git a/docs/content/docs/openui-lang/overview.mdx b/docs/content/docs/openui-lang/overview.mdxindex 0457e1d2b..e99a6dfdb 100644--- a/docs/content/docs/openui-lang/overview.mdx+++ b/docs/content/docs/openui-lang/overview.mdx@@ -15,6 +15,15 @@ OpenUI is built around four core building blocks that work together to turn LLM- **Renderer**: The `<Renderer />` React component takes parsed output and maps each element to your library's React components, rendering the UI progressively as the stream arrives.+<Callout+ type="info"+ icon={<span className="hidden" aria-hidden="true" />}+ className="my-6 border-fd-border bg-fd-muted/30 px-4 py-3.5 ps-4 shadow-none [&>div:first-child]:hidden"+>+ Monitor model usage, latency, errors, and render success. [Explore OpenUI+ Cloud](/docs/openui-cloud/production-readiness#observability).+</Callout>+## Built-in Component LibrariesOpenUI ships with two ready-to-use libraries via `@openuidev/react-ui`. Both include layouts, content blocks, charts, forms, tables, and more.