Skip to main content
The embed widget ships with three layout types. Each is optimized for a different use case. Set the type when calling embedWidget():

Tray

The default layout. A floating circular button appears in the bottom-right corner. Clicking it opens a compact chat panel (583 × 800px, capped at 100vh - 100px). Best for: Help widgets, customer support, contextual assistants that shouldn’t dominate the page.
On mobile devices (viewport under 768px), the tray automatically switches to a full-screen layout for better usability. See Mobile Behavior.

Full-screen

Same floating button as the tray, but clicking it opens the agent as a full-screen overlay. The agent fills the entire viewport. Best for: Dedicated AI assistant pages, onboarding flows, or experiences where you want the agent to be the primary focus.

Chatbar

An inline input bar fixed to the bottom center of the page — no floating button. The user types directly into the bar, and a chat window opens above it. Best for: Search-like experiences, landing pages, AI-native products where the agent is the main interaction point.

Chatbar-Specific Options

The chatbar type accepts additional configuration through the options property:

Keyboard Shortcuts

When keyboardShortcutEnabled is true (the default):
  • Space — Focuses the chatbar input (only when no other text field is active)
  • Escape — Blurs the chatbar input

Conversation Starters

When the input is focused and the chat window is closed, the starters appear as clickable chips labeled A, B, C, etc. Clicking one sends it as the first message and opens the chat window.

Choosing a Type