Typewriter
Types text out character by character with a blinking cursor, optionally looping, and respects reduced-motion preferences.
Customize
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | string | — | Text to type out |
speed | number | 60 | Interval between characters in milliseconds |
startDelay | number | 200 | Delay before typing starts in milliseconds |
loop | boolean | false | Restart the animation after the text is fully typed |
loopDelay | number | 1200 | Pause before restarting in milliseconds |
cursor | boolean | true | Whether to show the blinking cursor |
className | string | — | Extra class name |