Five closing calls to action, each built around one next step that works on the page: copy the install command, leave an email, try a piece of the product, book a call, or read three numbers that roll up as they come into view.
Pro
Halden SDK
Post your first journal in five minutes.
One package, typed end to end. Works with Node 20 and later, Bun and Deno.
MIT licensed · 41 kB gzipped · no runtime dependencies
When to use
The last section of a landing, pricing or product page.
A page that already made its case and needs one specific next step.
When not to use
Several of them on one page; pick the edition that matches the step.
Product screens; these are marketing sections.
A plain closing line with two buttons; use `cta-block`.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/cta-editions
Adds its 13 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.
API reference
InstallCta
7 props
PropTypeDefaultDescription
eyebrowReactNode—
title *ReactNode—
leadReactNode—
classNamestring—
commands *readonly InstallCommand[]—One line per package manager; the first is selected.
secondaryBlockAction—A quieter next step beside the switch, e.g. "Read the guide".
noteReactNode—A line under the command, e.g. "Node 20 or later · MIT".
CaptureCta
10 props
PropTypeDefaultDescription
eyebrowReactNode—
title *ReactNode—
leadReactNode—
classNamestring—
fieldLabelstring"Work email"
submitLabelstring"Subscribe"
notestring—The hint under the field, e.g. "One email a month. Leave any time."
proof{ names: readonly string[]; label: string; }—A few names, drawn as initials, and a line such as "Read by 4,200 finance teams".
success{ title: string; body: string; }—What success says; `{email}` is replaced with the address.
onSubmit((email: string) => void | Promise<void>)—May return a promise; a rejection shows a retry message.
ProductCta
9 props
PropTypeDefaultDescription
eyebrowReactNode—
title *ReactNode—
leadReactNode—
classNamestring—
hintsreadonly string[]—Short instructions for the preview, e.g. "Flip the switch".
primaryBlockAction—
secondaryBlockAction—
preview *ReactNode—The live part, e.g. a settings row or a meter wired to state.
previewTitlestring—The window bar label, e.g. "halden.app/close".
BookingCta
9 props
PropTypeDefaultDescription
eyebrowReactNode—
title *ReactNode—
leadReactNode—
classNamestring—
host{ name: string; role: string; }—
durationstring—e.g. "30 min · video call".
timezonestring—e.g. "Times in London (GMT)".
days *readonly BookingDay[]—
onBook((slot: { day: BookingDay; time: string; }) => void | Promise<void>)—May return a promise; a rejection keeps the choice and shows a retry message.
ProofCta
7 props
PropTypeDefaultDescription
title *ReactNode—
classNamestring—
eyebrowReactNode—
figures *readonly ProofFigure[]—Three reads best; more wrap into rows.
primaryBlockAction—
secondaryBlockAction—
footnoteReactNode—Where the numbers come from, e.g. "Customer survey, October 2026".
useEmailCapture
0 props
No props of its own; it re-exports a primitive and takes that primitive’s props.
Keyboard
No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes status semantics, with aria-hidden and aria-label kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.