Animations/Typewriter

TypewriterText

Animates text character by character with configurable typing speed, delete speed, pause duration, and optional cycling through multiple strings.

import { TypewriterText } from "@animui/ui"

Live preview

Cycles through multiple strings

Props

PropTypeDefaultDescription
wordsstring[]Array of strings to cycle through. The component loops indefinitely.
typingSpeednumber80Milliseconds between each character when typing.
deletingSpeednumber40Milliseconds between each character when deleting.
pauseDurationnumber1800Milliseconds to pause after a string is fully typed before deleting.
cursorbooleantrueShow a blinking cursor after the typed text.
prefixstringStatic text prepended before the animated portion.
classNamestringAdditional classes on the text wrapper.
© 2026 Steal Shadow. MIT License.Report an issue