Text Motion

Headline entrances driven entirely by your own custom Framer Motion variants.

textmotionvariantsheadlineanimationtypographycustom
Text Motion component preview

Props

PropTypeDefaultDescription
textstring-The string to animate.
variantsVariants-Framer Motion variants with hidden / show keys for each segment.
by"text" | "word" | "character" | "line""word"How to split the string for staggering.
as"p" | "span" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6""p"Tag rendered as the outer element.
durationnumber0.3Stagger = duration / segment count.
delaynumber0Delay before the cascade starts, in seconds.
startOnViewbooleanfalseWhen true, wait for viewport entry. When false, play on mount.
oncebooleantruePlay only once when using viewport trigger.