Inbox screen
ProTriage by what you owe: Needs reply, Waiting and FYI, product facts beside the thread, keyboard triage and undo.
pnpm dlx shadcn@latest add @caliper/inbox-screenInvoice 0923 looks doubled
Hi, we were charged twice for the September seats (INV-2041 and INV-2043). Can you refund one of them?
When to use #
Use it for
- Support, sales or ops queues answered by a small team.
- The product knows facts about the customer that answer the question.
Skip it when
- Personal email.
- Chat; use the thread components.
Installation #
pnpm dlx shadcn@latest add @caliper/inbox-screen
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.
Usage #
Import it from your copy of the source. The example behind the preview comes with the source.
import { InboxScreen } from "@/components/ui/inbox-screen"
The worked example comes with Pro
The 65-line example behind the preview opens here with a Pro or Team licence.
API reference #
InboxScreen
component
Accessibility #
It exposes listbox, group, option and status semantics, with aria-label, aria-activedescendant, aria-labelledby, aria-selected, aria-keyshortcuts and aria-live kept in step with state. Changes that matter are announced through a live region.
Motion #
It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.