Installation
Basic
Inspect
Direction
Inspect
Timing
Inspect
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | — | The rendered text. Changing this value rolls the characters into place. |
| direction | "up" | "down" | "down" | "down" enters from above. "up" enters from below. |
| stagger | number | 35 | Delay between characters in milliseconds. |
| duration | number | 240 | Per-character animation duration in milliseconds. |
| skipUnchanged | boolean | true | Keeps matching characters still when the text changes. |
Credits
SlotText adapts the character-slot animation model from Danilaa1/slot-text, released under the MIT License by Daniel Belyi.