Skip to content
caliper ui pro docs

Transcript reel

A transcript on a curved surface. The line being read is large and faces you; the lines before and after bend away along a cylinder, so you keep your place while it plays. Every line shows its time and speaker, and clicking one seeks to it.

Pro
Line 4 of 12

When to use

  • Meeting notes, interviews and call recordings that play alongside the text.
  • Anywhere the current line matters more than the rest but context should stay in view.

When not to use

  • A transcript people search or copy from; use a plain list with find.
  • Very long recordings with no way to jump; pair it with chapters.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/transcript-reel

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

TranscriptReel

13 props
PropTypeDefaultDescription
labelstring"Transcript"
lines *readonly TranscriptLine[]—
currentnumber—Index of the current line. Controlled when set.
defaultCurrentnumber0
onCurrentChange((index: number, line: TranscriptLine) => void)—Called when a click, a key, the wheel, a button or playback moves to another line.
playingboolean—Controlled when set.
onPlayingChange((playing: boolean) => void)—
intervalnumber2600Milliseconds each line stays current while playing.
statusDepthStatus"ready"
messagesDepthMessages—
onRetry(() => void)—
disabledboolean—
classNamestring—

Keyboard

Space
Activates the focused control.
↓
Moves to the next item or value.
↑
Moves to the previous item or value.
Home
Jumps to the first item or the minimum.
End
Jumps to the last item or the maximum.

Accessibility

It exposes group semantics, with aria-current, aria-roledescription, aria-label and aria-live 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/transcript-reel.md

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

More in Surfaces