DocsComponents
Typing Effect
A realistic typing effect with customizable speed, looping, and cursor blinking.
Installation
npm install smoothkitUsage
typescript
API Reference
| Property | Type | Default | Description |
|---|---|---|---|
| text | string | string[] | - | Text or array of strings to type. |
| speed | number | 50 | Typing speed in milliseconds per char. |
| loop | boolean | false | Whether to loop through the strings infinitely. |
| cursor | boolean | true | Whether to show the blinking cursor. |