Skip to content
caliper ui docs

Pro

Deploys screen

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.

Pro
pnpm dlx shadcn@latest add @caliper/deploys-screen
State
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

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 130-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

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.

All Developer tools examples