Skip to content
caliper ui pro docs

Story viewer

Short updates one at a time: bars fill as each plays, taps go back or on, holding pauses, and there is always a pause button.

Pro

What's new in Halden

Three updates from October 2026

October

Payments match in any currency

Using the day's rate, with the difference booked for you.

Story 1 of 3: Any-currency matching

When to use

  • Product updates, onboarding tips and highlights on phones.
  • A handful of visual moments in sequence.

When not to use

  • Information people need to read at their pace; use a page.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/story-viewer

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

StoryViewer

4 props
PropTypeDefault
stories *readonly Story[]—
label *string—
onEnd(() => void)—
classNamestring—

Keyboard

→
Moves to the next item or value.
←
Moves to the previous item or value.
Space
Activates the focused control.

Accessibility

It is built on native elements and keeps aria-roledescription, aria-label, aria-hidden, aria-pressed and aria-live 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/story-viewer.md

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

More in Media viewers