The Open Standard for Generative UI
Add images and visuals to chat documentation pages (#285)
Ankit Dasfd134dc07631
diff --git a/docs/content/docs/chat/bottom-tray.mdx b/docs/content/docs/chat/bottom-tray.mdxindex b096dbc2c..7f5e3419d 100644--- a/docs/content/docs/chat/bottom-tray.mdx+++ b/docs/content/docs/chat/bottom-tray.mdx@@ -20,7 +20,7 @@ export function App() {}```-{/* add visual: gif showing the BottomTray widget in collapsed and expanded states */}+## Controlled open statediff --git a/docs/content/docs/chat/copilot.mdx b/docs/content/docs/chat/copilot.mdxindex 93688f002..911e7a8f1 100644--- a/docs/content/docs/chat/copilot.mdx+++ b/docs/content/docs/chat/copilot.mdx@@ -20,7 +20,7 @@ export function App() {}```-{/* add visual: image showing the Copilot sidebar layout next to the main app content */}+## Common configurationdiff --git a/docs/content/docs/chat/fullscreen.mdx b/docs/content/docs/chat/fullscreen.mdxindex 01ba24883..9ea56ca85 100644--- a/docs/content/docs/chat/fullscreen.mdx+++ b/docs/content/docs/chat/fullscreen.mdx@@ -19,7 +19,7 @@ export function App() {}```-{/* add visual: image showing the FullScreen layout with sidebar, thread list, and main conversation area */}+## Common configurationdiff --git a/docs/content/docs/chat/genui.mdx b/docs/content/docs/chat/genui.mdxindex f5eb57caa..e4e173efc 100644--- a/docs/content/docs/chat/genui.mdx+++ b/docs/content/docs/chat/genui.mdx@@ -64,7 +64,16 @@ In this setup:This is the minimal complete pattern for GenUI in a chat interface. For a non-chat renderer or custom layout, use `openuiLibrary` and `openuiPromptOptions` from the same import path.-{/* add visual: image showing the difference between a plain text assistant response and a GenUI-rendered component response */}+<div className="grid md:grid-cols-2 gap-6 my-6">+ <div>+ <p className="text-sm text-center font-medium mb-2">Plain text response</p>+ + </div>+ <div>+ <p className="text-sm text-center font-medium mb-2">GenUI response</p>+ + </div>+</div>## Use your own librarydiff --git a/docs/content/docs/chat/installation.mdx b/docs/content/docs/chat/installation.mdxindex 3fa87a661..0b49eaa82 100644--- a/docs/content/docs/chat/installation.mdx+++ b/docs/content/docs/chat/installation.mdx@@ -76,7 +76,7 @@ export default function Page() {At this stage, the page should render the layout shell. It will not send working chat requests until you add a backend.-{/* add visual: image showing the expected baseline render after styles are imported and a built-in layout is mounted */}+## Related guidesdiff --git a/docs/content/docs/chat/theming.mdx b/docs/content/docs/chat/theming.mdxindex b490885ea..945c060e1 100644--- a/docs/content/docs/chat/theming.mdx+++ b/docs/content/docs/chat/theming.mdx@@ -54,7 +54,16 @@ import { FullScreen } from "@openuidev/react-ui";`disableThemeProvider` only skips the wrapper. It does not remove any chat functionality.-{/* add visual: image showing the default chat theme beside a custom dark theme override */}+<div className="grid md:grid-cols-2 gap-6 my-6">+ <div>+ <p className="text-sm text-center font-medium mb-2">Light (default)</p>+ + </div>+ <div>+ <p className="text-sm text-center font-medium mb-2">Dark</p>+ + </div>+</div>## Related guidesdiff --git a/docs/content/docs/chat/welcome.mdx b/docs/content/docs/chat/welcome.mdxindex 280bd3556..ea6b7dc8b 100644--- a/docs/content/docs/chat/welcome.mdx+++ b/docs/content/docs/chat/welcome.mdx@@ -73,7 +73,16 @@ Use `variant="short"` for compact pill buttons or `variant="long"` for more desc/>```-{/* add visual: image showing the empty state with a welcome message and both short and long conversation starter variants */}+<div className="grid md:grid-cols-2 gap-6 my-6">+ <div>+ <p className="text-sm text-center font-medium mb-2">`"short"` variant</p>+ + </div>+ <div>+ <p className="text-sm text-center font-medium mb-2">`"long"` variant</p>+ + </div>+</div>## Related guidesdiff --git a/docs/public/docs/images/chat/bottom-tray.gif b/docs/public/docs/images/chat/bottom-tray.gifnew file mode 100644index 000000000..951c01e1fBinary files /dev/null and b/docs/public/docs/images/chat/bottom-tray.gif differdiff --git a/docs/public/docs/images/chat/bottom-tray.png b/docs/public/docs/images/chat/bottom-tray.pngnew file mode 100644index 000000000..380ba596cBinary files /dev/null and b/docs/public/docs/images/chat/bottom-tray.png differdiff --git a/docs/public/docs/images/chat/copilot.png b/docs/public/docs/images/chat/copilot.pngnew file mode 100644index 000000000..e3fa8d5e1Binary files /dev/null and b/docs/public/docs/images/chat/copilot.png differdiff --git a/docs/public/docs/images/chat/fullscreen-dark.png b/docs/public/docs/images/chat/fullscreen-dark.pngnew file mode 100644index 000000000..d8c484aa9Binary files /dev/null and b/docs/public/docs/images/chat/fullscreen-dark.png differdiff --git a/docs/public/docs/images/chat/fullscreen.png b/docs/public/docs/images/chat/fullscreen.pngnew file mode 100644index 000000000..70259d49bBinary files /dev/null and b/docs/public/docs/images/chat/fullscreen.png differdiff --git a/docs/public/docs/images/chat/genui-response.png b/docs/public/docs/images/chat/genui-response.pngnew file mode 100644index 000000000..0cf39b970Binary files /dev/null and b/docs/public/docs/images/chat/genui-response.png differdiff --git a/docs/public/docs/images/chat/genui-text-response.png b/docs/public/docs/images/chat/genui-text-response.pngnew file mode 100644index 000000000..968dab7aaBinary files /dev/null and b/docs/public/docs/images/chat/genui-text-response.png differdiff --git a/docs/public/docs/images/chat/starters-long.png b/docs/public/docs/images/chat/starters-long.pngnew file mode 100644index 000000000..844065da4Binary files /dev/null and b/docs/public/docs/images/chat/starters-long.png differdiff --git a/docs/public/docs/images/chat/starters-short.png b/docs/public/docs/images/chat/starters-short.pngnew file mode 100644index 000000000..24b4a5f08Binary files /dev/null and b/docs/public/docs/images/chat/starters-short.png differ