Skip to content
caliper ui pro docs

Split flap

A departure-board display: when the text changes each character flips through the reel to its new letter, left to right.

Pro

14:35 · TP 664 · AMSTERDAM · GATE B12

When to use

  • Status boards seen from across a room.
  • A single headline status, like a build or a gate.

When not to use

  • Body text or values people read closely.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/split-flap

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

SplitFlap

4 props
PropTypeDefault
value *string—
lengthnumber—
label *string—
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes img semantics, with aria-label and aria-hidden kept in step with state.

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/split-flap.md

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

More in Loaders & text