caliper uidocs

Helpdesk home

Pro

Where an agent's day starts: tickets past their reply time first, ones due within the hour, customers who replied and are waiting on you, the latest ratings and the team's load today.

Installs components/ui/helpdesk-home.tsxDepends on @radix-ui/react-slot, lucide-reactMotion none in component source
pnpm dlx shadcn@latest add @caliper/helpdesk-home

Good morning, Maya

3 open tickets are yours

Yours, open
3
3 unassigned in the team
Past reply time
1
reply to these first
Due within an hour
1
still on time
Customers waiting on you
1
they replied last

Reply to these first

Customers waiting on you

Latest ratings

Team today

AgentOpenPast dueSolved today
Maya Chen (you)310
Tomás Ferreira000
Priya Raman100
Kiara Murayama000

Oldest unassigned: #4818, waiting 2 h 30 min

When to use #

Use it for

  • The landing screen of a helpdesk or support tool.

Skip it when

  • Team-wide trends; use helpdesk reports.

Installation #

terminal
pnpm dlx shadcn@latest add @caliper/helpdesk-home

Adds its 7 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 { HelpdeskHome } from "@/components/ui/helpdesk-home"

The worked example comes with Pro

The 112-line example behind the preview opens here with a Pro or Team licence.

Checking your licence…

API reference #

HelpdeskHome

component
PropTypeDefaultDescription
tickets *readonly Ticket[]—
customers *readonly HelpdeskCustomer[]—
agents *readonly string[]—
onOpenTicket((id: string) => void)—
onShowQueue(() => void)—Opens the queue, e.g. from "All of mine".
nowstringnew Date().toISOString()ISO time treated as now.
you *string—
classNamestring—

Accessibility #

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

No custom key handling; Tab and the native activation keys do the work.

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.