184 Components

Typewriter Cursor Effect

Text

Rotating multi-phrase typewriter effect with humanized typing rhythms, backspace cadence, and an animated blinking beam cursor.

Build |

Installation

Install directly into your project using the shadcn CLI or copy the source code manually.

Requires:framer-motionclsxtailwind-merge
$npx shadcn@latest add "https://boseui.site/r/typewriter-cursor-effect.json"

Props

TypeScript props supported by <TypewriterCursorEffect />.

5 props
PropTypeDefaultDescription
wordsstring[]—Array of phrases to cycle through.
typeSpeednumber80Typing delay per character in milliseconds.
deleteSpeednumber40Backspacing delay per character in milliseconds.
delayBetweennumber1800Pause duration before backspacing a completed phrase.
cursorCharstring"|"Cursor character glyph.

Key Features

  • Humanized typing and accelerated backspacing intervals.
  • Blinking cursor beam animation with custom glyph support.
  • Infinite rotation through array of headline phrases.
  • Graceful reduced-motion fallback that displays the initial phrase statically.

Keyboard & Accessibility

  • Continuous readable inline text structure.
  • Respects prefers-reduced-motion to avoid distracting motion.