Support widget
A floating help button that opens a chat.
Invoices
October 2026€288.00 · Paid
September 2026€288.00 · Paid
August 2026€264.00 · Paid
When to use
- Offering help on every page.
When not to use
- The page already has a help panel.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/support-widget
Adds its 6 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
SupportWidget
6 props
PropTypeDefaultDescription
articles *readonly HelpArticle[]—
onAsk *(question: string) => Promise<string>—Answer a question. Resolve with the reply text.
onContact *(email: string, message: string) => Promise<void>—
onlinebooleantrue
unreadnumber0
classNamestring—
Keyboard
- Escape
- Closes or cancels, then returns focus to where it came from.
Accessibility
It exposes dialog, tablist, tab, tabpanel, log and status semantics, with aria-label, aria-hidden, aria-selected, aria-controls, aria-labelledby and aria-live kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/support-widget.mdThe index of every part is at /llms.txt.