Skip to content
caliper ui docs

Pro

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
pnpm dlx shadcn@latest add @caliper/transcript-reel

Release review, 16 October

Mira, Jo and Sam on what ships next, 46 seconds

Line 4 of 12
Installs components/ui/transcript-reel.tsxDepends on @radix-ui/react-slot, lucide-reactMotion honours reduced motion

When to use

Use it for

  • 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.

Skip it when

  • 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.

Decisions

Why it is built this way, so you know what to keep when you change your copy.

Behaviour

Playing is a button, never automatic
Play advances one line at a time and stops at the end. Nothing announces each line to a screen reader while it plays.
Reduced motion makes it a list
With reduced motion the reel is flat: a plain scrolling list with the current line highlighted and kept in the middle.
The wheel hands the page back
Scrolling over the reel steps through the lines, and at the first or last line the page scrolls on instead of being trapped.

Styling

Only the current line is large
The surface turns 26 degrees a line; the neighbours stay legible and the far ones fade. A long line grows the current line and is clipped on the others.

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.

Usage

Import it from your copy of the source. The example behind the preview comes with the source.

example.tsx
import { TranscriptReel } from "@/components/ui/transcript-reel"

The worked example comes with Pro

The 39-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
Checking your licence…

API reference

TranscriptReel

component
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—

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.

KeyBehaviour
SpaceActivates the focused control.
↓Moves to the next item or value.
↑Moves to the previous item or value.
HomeJumps to the first item or the minimum.
EndJumps to the last item or the maximum.

Motion

It checks prefers-reduced-motion itself and settles immediately instead of travelling. Every state is still reachable.

All Surfaces examples