Skip to content

Text Split Flap

Pro

Each tile turns its flaps through letters until it shows the new text, like an airport split-flap board.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 14, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Text Split Flap needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
15
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Pass the text as children. A new text flips each tile to its new character.

gate-status.tsx

TextSplitFlap

<span>
PropTypeDefaultDescription
localestring—The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US".
childrenRequiredstring—The text to show. A new text flips each cell from its old character to the new one.
trigger"mount""view""view"When the first flip runs: view (default) the first time it is on screen, mount at once.
charactersstringSPLIT_FLAP_CHARACTERSThe drum: the characters a cell turns through, in order. Default: a space, A–Z, 0–9, and the marks of a departure board. A character that is not on it flips once, straight to its target.
order"center""edges""end""random""start""start"The order in which the cells start: start (default, reading order), end, center (from the middle out), edges (from both ends in), or random (a fixed shuffle of each text).
...props<span> attributes—Every other attribute goes to the <span>, with a ref.
  • Pass the text as children; a new text flips each tile from its old character to the new one.
  • Leave trigger at "view" for a headline that flips in when it comes into view; use "mount" to flip at once.
  • Set order to choose the order in which the tiles start: start, end, center, edges, or random.
  • Set characters to a smaller drum, such as 0123456789: for a clock.
  • For a number that keeps its format while its digits change, use Rolling Number.

Assistive tools read the new text once, never the characters that the flaps turn past.

Flip
progress · each flap turns in 70ms on a linear clock; each half speeds up as it falls, as with gravity
Stagger
progress · the tiles start 40ms apart in `order`, all within 0.48s
  1. AddedText Split Flap.
Open the release