caliper uidocs

Deploys screen

Pro

Every deployment with production at the top: what it serves and a rollback one step away, build logs that stream, what changed, and promote or roll back with the consequence stated.

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

When to use #

Use it for

  • A hosting, CI or internal platform product.
  • Teams that ship several times a day and need a fast way back.

Skip it when

  • A single build status; a badge and a link to the log is enough.

Installation #

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

Adds its 14 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 { DeploysScreen } from "@/components/ui/deploys-screen"

The worked example comes with Pro

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

Checking your licence…

API reference #

DeploysScreen

component
PropTypeDefaultDescription
project *string—
domainstring—Production domain, e.g. "halden.app".
deploys *readonly Deploy[]—
nownumber—Fix the clock, e.g. in tests.
onPromote((id: string) => void | Promise<void>)—
onRollback((id: string) => void | Promise<void>)—
onRedeploy((id: string) => void | Promise<void>)—
onCancel((id: string) => void | Promise<void>)—
classNamestring—

Accessibility #

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

Keyboard and focus handling comes from Radix dialog, popover and tabs: 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.