Text

Split flap

An airport departures board: each cell flips through its drum letter by letter until it lands on the new text. Great for headlines, prices, scores and status.

Paste it into ChatGPT, Claude, Cursor or v0.
speed55
stagger40

Usage

React
import { SplitFlap } from '@vizzele/react';

<SplitFlap value={status} length={12} style={{ fontSize: 40 }} />

Props

PropTypeDefaultDescription
valuestring—Text to land on.
lengthnumber—Pad or cut to this many cells (keeps the board steady).
speednumber55Milliseconds per flip.
staggernumber40Delay between cells (ms).
charsstring—The drum each cell flips through, in order.
uppercasebooleantrueBoards shout.

Accessibility

  • Screen readers get the final text once; the flapping cells are aria-hidden.
  • With reduced motion each cell shows its letter straight away.