Animates typing and deleting effects for a sequence of texts.
Comma-separated list of texts to cycle through
Typing speed in milliseconds per character
Deleting speed in milliseconds per character
Pause duration in milliseconds after typing a full text
Whether to loop the texts indefinitely
Whether to display the blinking cursor
import { TypingAnimation } from "nexoreui"
<TypingAnimation />| Property | Type | Default | Description |
|---|---|---|---|
| texts | string[] | - | Array of text strings to type out sequentially. |
| speed | number | 100 | Typing speed in milliseconds per character. |
| deleteSpeed | number | 50 | Deleting speed in milliseconds per character. |
| pauseDuration | number | 2000 | Pause duration in milliseconds after typing a full text. |
| loop | boolean | true | Whether to loop the sequence of texts indefinitely. |
| cursor | boolean | true | Whether to display the blinking cursor. |