Skip to content
caliper ui docs

Pro

Inbox screen

Triage by what you owe: Needs reply, Waiting and FYI, product facts beside the thread, keyboard triage and undo.

Pro
pnpm dlx shadcn@latest add @caliper/inbox-screen
Inbox
Needs reply5
Sofia Ortega09:41Invoice 0923 looks doubledWe were charged twice for the September seats, can you…
Mira Solheim08:02SSO for the Lumen domainFollowing up on the SAML metadata we sent…
Lukas WeberTueSeats for the Gdańsk teamWe'd like to add twelve people from…
Kofi Mensah unreadTueAnnual billing for 40 seatsCould we move to yearly billing before…
Sana OkaforMonVAT number missing on invoicesOur accountant needs PT 509 412 880 on…
Waiting on them2
Omar AzizFriSigned data processing agreementYou: attached the DPA for countersigning…
Ingrid SolbergMonExport of audit logYou: here's the CSV for Q3…
FYI2
Rafael AbreuFriThanks for the quick fixExports work again on our side…
Status botMonWeekly uptime: 99.98%No incidents this week.

Invoice 0923 looks doubled

Sofia Ortega 09:41

Hi, we were charged twice for the September seats (INV-2041 and INV-2043). Can you refund one of them?

Found in billing: INV-2041 and INV-2043, both $672.00 on 1 Oct. INV-2043 was created by a retry after a timeout.
State
Installs components/ui/inbox-screen.tsxDepends on @radix-ui/react-slot, lucide-reactMotion none in component source

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

terminal
pnpm dlx shadcn@latest add @caliper/inbox-screen

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.

Usage

Import it from your copy of the source. The example behind the preview comes with the source.

example.tsx
import { InboxScreen } from "@/components/ui/inbox-screen"

The worked example comes with Pro

The 90-line example behind the preview opens here, ready to copy.

  • 626 Pro parts, blocks and page templates, all with source
  • $149 once, with lifetime updates. No renewal
  • A full refund within 14 days if it is not for you
Checking your licence…

API reference

InboxScreen

component
PropTypeDefaultDescription
conversations *readonly InboxConversation[]—
onDone((id: string) => void)—
onSnooze((id: string) => void)—
onUndo((id: string) => void)—Z undid the last Done or Snooze. If you took the conversation out of `conversations`, put it back.
onSend((id: string, text: string) => void | Promise<void>)—
onOpen((id: string) => void)—A person chose a conversation, so it is read: clear its unread mark.
initialIdstring—Start on this conversation, and on a phone start inside it, for example when arriving from a link to it.
titlestring—Puts the screen's h2 above the list, e.g. "Inbox". Without it the screen has no heading of its own.
descriptionstring—
toolbarReactNode—Filters under the title, e.g. a segmented control.
emptyMessagestring—Replaces the sentence shown when nothing needs a reply.
undoMsnumber6000
classNamestring—

Accessibility

It exposes listbox, group, option and status semantics, with aria-label, aria-activedescendant, aria-labelledby, aria-selected, aria-hidden and aria-keyshortcuts kept in step with state. Changes that matter are announced through a live region.

KeyBehaviour
↓Moves to the next item or value.
↑Moves to the previous item or value.
EnterActivates the focused control.

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.

All Support examples