caliper uidocs

Helpdesk settings

Pro

How fast the team promises to answer: first reply and resolution targets per priority in readable units, working days and hours with a time zone, and whether timers pause outside them.

Installs components/ui/helpdesk-settings.tsxDepends on @radix-ui/react-popover, @radix-ui/react-slot, lucide-reactMotion shared motion tokens
pnpm dlx shadcn@latest add @caliper/helpdesk-settings

Settings

Reply targets and working hours

Reply targets

The queue orders tickets by these, and shows how long is left before each is late.

PriorityFirst reply withinSolved within
Urgent
High
Normal
Low

Urgent: first reply in 1 h.

Working hours

Days

When to use #

Use it for

  • The settings area of a helpdesk or service desk.

Skip it when

  • Personal notification settings; use notification preferences.

Installation #

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

Adds its 9 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 { HelpdeskSettings } from "@/components/ui/helpdesk-settings"

The worked example comes with Pro

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

Checking your licence…

API reference #

HelpdeskSettings

component
PropTypeDefault
policies *readonly SlaPolicy[]—
hours *BusinessHours—
onSave *(settings: { policies: SlaPolicy[]; hours: BusinessHours; }) => void—
classNamestring—

Accessibility #

It exposes status and alert semantics, with aria-label and aria-hidden kept in step with state. Changes that matter are announced through a live region.

Keyboard and focus handling comes from Radix popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.

Motion #

Transitions use the shared duration and easing tokens. Under prefers-reduced-motion those tokens collapse to instant and travel distances go to zero, so state changes still happen without movement.