Pro
Environment stack
Development, staging and production as three stacked floors, with the release as a block that travels down them. The list beside it carries the version, the checks and every action. A failed check tints its floor and keeps the block where it is.
pnpm dlx shadcn@latest add @caliper/environment-stackWhen to use
Use it for
- Promotion flows where a release moves through environments in order.
- Showing where a release is right now, and what stops it moving.
Skip it when
- A single environment; use the deploys screen.
- A switch between environments; use the environment switcher.
Decisions
Why it is built this way, so you know what to keep when you change your copy.
Behaviour
- Depth is the order of promotion
- The release only moves down the stack and never skips a floor; lift, move and land is the in-transit state.
- Gates say why
- A button that is off shows the reason in text, so nobody has to guess why Promote is unavailable.
Usage
- The parent runs the release
- Checks, approvals and rollbacks are yours. You pass where the release is and the actions each floor offers; the part draws and announces it.
Installation
pnpm dlx shadcn@latest add @caliper/environment-stack
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.
import { EnvironmentStack } from "@/components/ui/environment-stack"
The worked example comes with Pro
The 60-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
API reference
EnvironmentStack
component
Accessibility
It is built on native elements and keeps aria-hidden, aria-label and aria-live in step with state. Changes that matter are announced through a live region.
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.
Related
- Deploys screenEvery 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.
- Environment switcherSwitch between development, preview, staging and production from one control. Production is marked live everywhere it appears, and a notice above risky settings says so in words.
- Pipeline runOne pipeline run, stage by stage. Each stage shows what it is doing and how long it has taken, the connectors fill as stages pass, and when one fails the run stops there, opens on the line that failed and offers one button: retry from that stage.