Back to Components
Text Effects

Typewriter Text

Animates text typing character by character with configurable speed, delay, and an optional blinking cursor.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/typewriter-text.tsx

Installation

Using shadcn CLI

npx shadcn add typewriter-text --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge