Type Writer

An interactive typewriter effect component that animates text character by character with customizable typing speed. Features smooth character reveal, blinking cursor, and completion callbacks for engaging text animations and dynamic content display.

Installation

npx uilayouts@latest add type-writer

This type writer installation process provides smooth text animation capabilities for React applications, perfect for creating engaging content reveals and dynamic typography effects.

Props

PropTypeDefaultDescription
textstring-The text string to type out character by character
charDelaynumber55Delay between each character in milliseconds
onCompletefunction-Callback function when typing animation completes

These simple yet powerful props give you complete control over your typewriter animations, making them ideal for hero sections, loading messages, and interactive text displays.

Example

Basic Type Writer

This basic type writer demonstrates smooth character-by-character text animation with a blinking cursor effect, perfect for engaging user interfaces and dynamic content presentation.

Advanced Usage

The type writer component can be used for various applications including hero text animations, chat interfaces, code demonstrations, and loading messages. The customizable typing speed allows you to create the perfect pacing for your content reveal.