Text Type

_

Props

PropertyTypeDefaultDescription
text
string | string[]
-
Text or array of texts to type out
typingSpeed
number
50
Speed of typing in milliseconds
pauseDuration
number
2000
Time to wait between typing and deleting
deletingSpeed
number
30
Speed of deleting characters
showCursor
boolean
true
Whether to show the cursor
cursorCharacter
string
|
Character to use as cursor
cursorBlinkDuration
number
0.5
Animation duration for cursor blinking
variableSpeed
{min: number, max: number}
undefined
Random typing speed within range

Dependencies

gsap