Skip to content
caliper ui pro docs

Product tour

A guided tour that spotlights one real control at a time, with a card that finds the side with room, keeps your place when paused, resumes from a small chip, and says so when a control is not on screen. Coachmark is the one-off hint.

Pro
  • Lumen LabsINV-2026-0418 · €4,200.00 · Due 30 Oct
  • BrightwaveINV-2026-0417 · €1,860.00 · Due 4 Nov
  • FernhillINV-2026-0415 · €920.00 · Paid 18 Oct

When to use

  • First run of a product, or after a redesign moves things.
  • Pointing out one new control without a full tour.

When not to use

  • Teaching a whole workflow; use an onboarding checklist that people complete for real.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/product-tour

Adds its 4 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

ProductTour

7 props
PropTypeDefaultDescription
steps *readonly TourStep[]—
open *boolean—
onOpenChange *(open: boolean) => void—Escape and the close button call this with false; the step is kept for resuming.
stepnumber—
onStepChange((step: number) => void)—
onFinish(() => void)—
labelstring"Tour"Names the tour for assistive technology, e.g. "Getting started".

TourResume

5 props
PropTypeDefault
step *number—
total *number—
onResume *() => void—
onDismiss(() => void)—
classNamestring—

Coachmark

8 props
PropTypeDefault
title *string—
body *ReactNode—
open *boolean—
onOpenChange *(open: boolean) => void—
onDismiss *() => void—
side"left" | "right" | "top" | "bottom""bottom"
children *ReactNode—
classNamestring—

Keyboard

Escape
Closes or cancels, then returns focus to where it came from.
→
Moves to the next item or value.
←
Moves to the previous item or value.

Accessibility

It exposes dialog and status semantics, with aria-hidden, aria-modal, aria-label, aria-describedby, aria-live and aria-expanded kept in step with state. Changes that matter are announced through a live region.

Motion

  • State changes animate with the library's shared durations and curves, so its timing matches every other part.
  • Under reduced motion each change lands on its end state without movement; nothing is hidden or skipped.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/product-tour.md

The index of every part is at /llms.txt.

More in Workspace chrome