Pass the text as children. A new text rolls only the letters that change.
upload-status.tsx
TextAlphabetRolling
<div>| 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 rolls each letter column from its old letter to the new one. |
| trigger | "none""mount""view" | — | The first roll, which lands on the same text: view (default) the first time it is on screen, mount at once, or none (only a new text rolls). Before it, the text shows at rest. |
| order | "center""edges""end""random""start" | — | The order in which the columns start: center (default, from the middle out), start, end, edges, or random (a fixed shuffle of each text). |
| direction | "down""up" | — | up (default): the new letter comes in from below. down: from above. |
| granularity | "grapheme""word" | — | grapheme: a column per letter at any length. Default: per letter up to 40 letters, else per word. A joining script (Arabic) always rolls per word. |
| characters | string | — | The drum a column rolls through, in order. Default: the alphabet of each target (capitals, small letters, or digits). A letter not on the drum passes copies of itself. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |













