Beautiful
accessible
Modern UI
Typewriter Effect Component
An animated typewriter effect component that simulates typing text, with configurable speed and behavior.
- Smooth typing animation effect
- Customizable typing speed and delay
- Support for multiple text strings with cycling
- Optional cursor with blinking effect
Installation
The Typewriter Effect component is part of our UI library. You can import it directly from the components directory.
Usage
Here is how to use the Typewriter Effect component in your project.
React TSX
React TSX
Examples
Default Typewriter Effect
API Reference
TypewriterEffect
Properties
Property | Type | Default | Description |
---|---|---|---|
words | { text: string, className?: string }[] | [] | Array of word objects, each with text content and optional className |
className | string | - | Additional CSS classes for the component |
cursorClassName | string | - | Additional CSS classes for the cursor |
TypewriterEffectSmooth
Properties
Property | Type | Default | Description |
---|---|---|---|
words | { text: string, className?: string }[] | [] | Array of word objects, each with text content and optional className |
className | string | - | Additional CSS classes for the component |
cursorClassName | string | - | Additional CSS classes for the cursor |