You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/module/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,16 +130,16 @@ This demo displays a ChatBot in a static, inline drawer. This demo includes:
130
130
131
131
```
132
132
133
-
### Display mode ChatBot
133
+
### Display mode switcher
134
134
135
135
This demo showcases how the ChatBot can be rendered in different display modes to suit various application layouts. It demonstrates how to dynamically change the page structure in response to the user's selection. This demo includes:
136
136
137
-
1. The ability to switch between Overlay, Docked, and Fullscreen modes using the [`<ChatbotHeaderOptionsDropdown>`](/patternfly-ai/chatbot/ui#header-options) in the header.
138
-
2. A conditional page layout that renders the ChatBot:
139
-
- As a floating window on top of the page content (Overlay mode).
140
-
- Inside a PatternFly `<Drawer>` as a side panel for a docked experience.
141
-
- As a top-level component that covers the entire screen (Fullscreen mode).
142
-
3. Logic to show or hide the `<ChatbotToggle>` button, which is only present in the default Overlay mode.
137
+
1. The ability to switch between overlay, docked, and fullscreen modes using the [`<ChatbotHeaderOptionsDropdown>`](/patternfly-ai/chatbot/ui#header-options) in the header.
138
+
2. A conditional page layout that renders the ChatBot for each display mode option:
139
+
-**Overlay:**As a floating window on top of the page content.
140
+
-**Drawer:**Inside an inline PatternFly `<Drawer>` as a side panel.
141
+
-**Fullscreen:**As a top-level component that covers the entire screen for an embedded experience.
142
+
3. Logic to show or hide the `<ChatbotToggle>` button, which is only present in the default overlay mode.
143
143
4. A [basic ChatBot](#basic-chatbot) with a header, welcome prompt, and message bar to populate the different layouts.
0 commit comments