HIL Chat Window
A chat-style way to respond to a Human-in-the-Loop (HIL) request — message bubbles, quick-reply chips, action buttons, and forms rendered right inside the conversation, instead of a single pop-up form.
Who This Guide Is For
People Responding to a HIL Request
What you see in the chat window, how to reply, use quick-reply chips, fill an inline form, and retry a failed send.
App Developers
How to add @bizfirst/hil-ui-chat-window to your app, mount it, and wire it up in a few lines.
The Two Message Types
Every turn in the conversation is one of two kinds, and the window renders each one appropriately:
| Kind | What it looks like |
|---|---|
| Text | A normal chat bubble — the workflow's prompt, or the person's typed reply. |
| Form | An actual form (fields, dropdowns, etc.) rendered inline as its own bubble, in the same conversation — no separate popup. |
What's Working Today vs. What's Planned
What's in This Guide
Using the Chat Window
Message bubbles, the composer, quick-reply chips, action buttons, inline forms, retry, and the countdown timer.
Quick Start (Developers)
Install the package, import both stylesheets, mount the window, and choose between chat and the classic overlay.
Settings Reference
Every field on HilChatWindowSettings — filtering, endpoints, visibility toggles, theming, mount, and window controls.
Custom Renderers
Two ways to override how a message kind renders — a settings prop, or a React context provider.
Mount Modes & Theming
Floating overlay, docked into your own layout, or inline — plus the CSS variables that control its look.
FAQ & Limitations
Common questions, common setup mistakes, and an explicit list of what isn't built yet.