motion-typewriter
Types out its text content character by character when it scrolls into view. Supports looping, a blinking cursor, and configurable speed.
Preview
Import
Usage
Properties
| Attribute | Property | Type | Default | Description |
|---|---|---|---|---|
| | | number | 50 | Milliseconds per character |
| | | number | 0 | Delay before typing starts (ms) |
| | | number | 1800 | Pause at end before erasing (ms, loop only) |
| | | boolean | false | Erase and retype continuously |
| | | boolean | true | Show blinking cursor |
Accessibility
Respects prefers-reduced-motion: when enabled, the typing animation is skipped and the full text appears immediately.