SlotText

Per-character text roll animation for short labels, statuses, and commands.

Installation

Basic

Inspect

Direction

Inspect

Timing

Inspect

API Reference

PropTypeDefaultDescription
textstringThe rendered text. Changing this value rolls the characters into place.
direction"up" | "down""down""down" enters from above. "up" enters from below.
staggernumber35Delay between characters in milliseconds.
durationnumber240Per-character animation duration in milliseconds.
skipUnchangedbooleantrueKeeps 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.