AI side panel
An assistant docked beside the app it helps with. It opens alongside the page so the work stays visible, says what it is looking at, offers starting questions for that context and keeps one conversation. In a narrow space it slides over the page instead.
Deals / Enterprise
Northwind renewal
- Stage
- Negotiation
- Value
- $118,800
- Seats
- 120
- Owner
- Mara Lindqvist
- Close date
- 19 December
- Last activity
- 18 November
Latest activity
- 18 Nov · Legal asked for a data processing addendum
- 12 Nov · Quote sent for 120 seats
- 4 Nov · Call with Priya Raman, champion
When to use
- Record pages in a CRM, helpdesk or finance tool, where questions are about what is on screen.
- Dashboards and documents that need an assistant without a separate chat screen.
When not to use
- A full chat product; use the chat shell.
- One-shot actions such as summarise; put a button where the content is.
Installation
pnpm dlx shadcn@latest add @caliper/ai-side-panel
Adds its 5 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
AiSidePanel
13 props
Keyboard
- Escape
- Closes or cancels, then returns focus to where it came from.
Accessibility
It is built on native elements and keeps aria-hidden, aria-label, aria-live and aria-busy 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/ai-side-panel.mdThe index of every part is at /llms.txt.