typing text

Typewriter effect with blinking cursor

_

Installation

Choose your preferred installation method. CLI is recommended for the fastest setup.

1

Quick Install

One command, zero configuration

$ npx @hritik-sharmaa/repeat-ui add text-effect-typing-text --variant ts-tailwind

Props Table

Configuration options and properties for this component.

PropTypeDefaultDescription
textstring''The text content that will be typed out with animation effects
speednumber100Speed of typing in milliseconds per character (lower = faster)
delaynumber0Initial delay before typing starts (in milliseconds)
characterstring'|'Custom cursor character to display while typing
deleteSpeednumber30Speed of deleting text in milliseconds per character
pauseAfterCompletenumber1000Time to pause after completing typing before starting to delete (in milliseconds)
classNamestring''Additional CSS classes to apply to the component container
showLetterAnimationbooleantrueEnable individual letter entrance animations with Framer Motion
onComplete() => voidundefinedCallback function called when typing is completed
onDeleteComplete() => voidundefinedCallback function called when deleting is completed