A
Auralix UI

TypingAnimation

Typewriter text animation with blinking cursor.

Preview

Installation

bash
npx auralix-ui add typing-animation

Usage

Typing Effect

tsx
import { TypingAnimation } from "@/components/ui/TypingAnimation";

<TypingAnimation text="Hello, World!" duration={100} />

Props

NameTypeDefaultDescription
textstring-Text to type.
durationnumber100Delay between characters (ms).
delaynumber0Initial delay before typing.
cursorbooleantrueShow blinking cursor.