react-terminal-typewriter

A lightweight React hook for terminal-style typewriter effects with cursor animation, loop support, and full TypeScript support.

Zero DependenciesTypeScriptReact 17+~1KB

Basic Usage

Simple typewriter effect with loop enabled

Loop Mode with Delete State

Text types, pauses, deletes, and repeats. Color changes when deleting.

Terminal Style

Classic terminal command prompt effect

$

Slow Typing

Dramatic effect with slower typing and cursor blink

Fast Typing

Quick typing with faster cursor blink

Code Typing

Perfect for code snippets and documentation

Installation

npm install react-terminal-typewriter