Zoom tour block
A product tour told with a camera. The whole interface sits on the stage; choosing a stop moves the camera in to that part while a short note explains it, and Overview pulls back out.
Product tour
One screen for the whole close
When to use
- Introducing a dense screen one region at a time.
- Landing pages that show the real product instead of illustrations.
When not to use
- Screens that are already simple; show them whole.
- Tours longer than five stops.
Installation
pnpm dlx shadcn@latest add @caliper/zoom-tour-block
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
ZoomTourBlock
6 props
tourTransform
0 props
No props of its own; it accepts the native props of its root element.
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes status and group semantics, with aria-hidden, aria-label and aria-pressed 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.
/docs/components/zoom-tour-block.mdThe index of every part is at /llms.txt.