Pro
Onboarding template
A first-run flow of seven steps that says how long it takes, why each step is asked and what your answer will do beside the form, lets you skip what is not needed, saves as you go and ends with what now exists and what is still to do.
pnpm dlx shadcn@latest add @caliper/onboarding-templateWhen to use
Use it for
- First-run set-up with five to eight steps, some of them optional.
- Steps with heavy bodies: a bank connection, a CSV import, team invites.
- Flows people leave and return to, where progress must be kept.
Skip it when
- A single form; use fields and a button.
- Two or three questions; ask them inline.
- Checkout; use the checkout screen.
Installation
pnpm dlx shadcn@latest add @caliper/onboarding-template
Adds its 26 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. It is built from OnboardingTemplate and stepMinutes.
import { OnboardingTemplate, stepMinutes } from "@/components/ui/onboarding-template"
The worked example comes with Pro
The 440-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
OnboardingTemplate
component
stepMinutes
component
No props of its own; it accepts the native props of its root element.
Accessibility
It exposes progressbar and status semantics, with aria-label, aria-current, aria-hidden, aria-valuemin, aria-valuemax and aria-valuenow 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
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
- Changelog templateWhat shipped, newest first: dates that stay in view, linkable versions, tag filters with a count and a product view per release.
- Page partsDashboard, password reset and verification screens.
- Docs templateDocumentation for a developer product: guides with steps and tabbed code, API pages with parameters and live samples, webhooks, errors and rate limits, SDKs and recipes, a changelog, and slash search over all of it.