Logo
React Bytes
Menu

Blur Text

BLUR TEXT

Customize

Text
Duration (s)0.8
Char Delay (s)0.06
Word Delay (s)0.15
Scale4
Blur (px)8
Y Offset (px)0

Props

text
Typestring
Default"BLUR TEXT"
Display text to animate.
animateBy
Typestring
Default"letter"
Animate character-by-character or word-by-word: "letter" | "word".
from
Typestring
Default"center"
Stagger origin for reveal: "center" | "start" | "end" | "random".
charDelay
Typenumber
Default0.06
Stagger delay (s) between each character entrance (used when animateBy="letter").
wordDelay
Typenumber
Default0.15
Stagger delay (s) between each word entrance (used when animateBy="word").
scale
Typenumber
Default4
Initial scale of each token before it animates in.
blur
Typenumber
Default8
Initial blur amount (px) applied to each token before it animates in.
yOffset
Typenumber
Default0
Initial Y offset (px) — tokens travel upward into position. 0 disables vertical movement.
duration
Typenumber
Default0.8
Duration (s) of the animation for each character or word.
repeat
Typeboolean
Defaultfalse
Loop the explode animation indefinitely.
color
Typestring
Default"#d35af8"
CSS color value for the text, e.g. "#fff" or "crimson". Ignored when gradient is set.
gradient
Typestring
Default""
CSS gradient string applied as a text gradient, e.g. "linear-gradient(90deg,#f97316,#ec4899)". Overrides color when set.
fontSize
Typestring
Default"text-6xl"
Tailwind font-size class, e.g. "text-4xl" | "text-6xl" | "text-9xl".
className
Typestring
Default""
Extra classes applied to the root wrapper div.

Dependencies

gsap 3.15.0

Crafted withbyMohammad Tasin