Pass the text as children. A new text flips each tile to its new character.
gate-status.tsx
TextSplitFlap
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| locale | string | — | The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US". |
| children | string | — | 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. |
| characters | string | SPLIT_FLAP_CHARACTERS | The 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. |









