Fade Text
Fades text in and out, word by word or character by character. Each chunk rises in with a blur and leaves on a softer, smaller exit. Toggle show to play it either way.
Installation
npx stepwise-ui add fade-text
Props
PropTypeDescription
childrenstringText to animate.
by"word" | "char"Split granularity. Default "word".
showbooleanFade in (true) or out (false). Default true.
staggernumberPer-chunk stagger in seconds. Default 0.05.
classNamestringExtra classes (font size / weight).