TypingAnimation
Typewriter text animation with blinking cursor.
Preview
Installation
bash
npx auralix-ui add typing-animationUsage
Typing Effect
tsx
import { TypingAnimation } from "@/components/ui/TypingAnimation";
<TypingAnimation text="Hello, World!" duration={100} />Props
| Name | Type | Default | Description |
|---|---|---|---|
text | string | - | Text to type. |
duration | number | 100 | Delay between characters (ms). |
delay | number | 0 | Initial delay before typing. |
cursor | boolean | true | Show blinking cursor. |
On this page