Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/docs/chat/bottom-tray.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function App() {
}
```

{/* add visual: gif showing the BottomTray widget in collapsed and expanded states */}
![BottomTray widget in collapsed and expanded states](/docs/images/chat/bottom-tray.gif)

## Controlled open state

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/chat/copilot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function App() {
}
```

{/* add visual: image showing the Copilot sidebar layout next to the main app content */}
![Copilot sidebar layout example](/docs/images/chat/copilot.png)

## Common configuration

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/chat/fullscreen.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function App() {
}
```

{/* add visual: image showing the FullScreen layout with sidebar, thread list, and main conversation area */}
![FullScreen layout example](/docs/images/chat/fullscreen.png)

## Common configuration

Expand Down
11 changes: 10 additions & 1 deletion docs/content/docs/chat/genui.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
![Plain text response](/docs/images/chat/genui-text-response.png)
</div>
<div>
<p className="text-sm text-center font-medium mb-2">GenUI response</p>
![GenUI rendered response](/docs/images/chat/genui-response.png)
</div>
</div>

## Use your own library

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/chat/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 */}
![Expected baseline render after styles are imported](/docs/images/chat/fullscreen.png)

## Related guides

Expand Down
11 changes: 10 additions & 1 deletion docs/content/docs/chat/theming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
![FullScreen light theme](/docs/images/chat/fullscreen.png)
</div>
<div>
<p className="text-sm text-center font-medium mb-2">Dark</p>
![FullScreen dark theme](/docs/images/chat/fullscreen-dark.png)
</div>
</div>

## Related guides

Expand Down
11 changes: 10 additions & 1 deletion docs/content/docs/chat/welcome.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
![Short conversation starters](/docs/images/chat/starters-short.png)
</div>
<div>
<p className="text-sm text-center font-medium mb-2">`"long"` variant</p>
![Long conversation starters](/docs/images/chat/starters-long.png)
</div>
</div>

## Related guides

Expand Down
Binary file added docs/public/docs/images/chat/bottom-tray.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/docs/images/chat/bottom-tray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/docs/images/chat/copilot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/docs/images/chat/fullscreen-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/docs/images/chat/fullscreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/docs/images/chat/genui-response.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/docs/images/chat/starters-long.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading