Skip to content
caliper ui pro docs

Assistant panel

A docked panel that holds a conversation beside the product.

Pro

Projects

  • Atlas platformDeploy failing · 2h
  • Billing revampReview due Friday
  • Mobile onboardingOn track

When to use

  • An assistant sits next to the page the user is working on.
  • The panel should open and close without losing the thread.

When not to use

  • The assistant is the whole page; use the chat shell.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/assistant-panel

Adds its 3 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

AssistantPanel

8 props
PropTypeDefaultDescription
open *boolean—
onOpenChange *(open: boolean) => void—
titlestring"Assistant"
actionsReactNode—Header buttons, such as New chat.
footerReactNode—Usually a PromptInput.
children *ReactNode—
widthstring"24rem"
classNamestring—

Keyboard

Escape
Closes or cancels, then returns focus to where it came from.

Accessibility

It is built on native elements and keeps aria-hidden and aria-label in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/assistant-panel.md

The index of every part is at /llms.txt.

More in Agent shell