Skip to content
roguelite labsAnthony Spezzano ↗
motion/text-effect

Text Effect

Animates text entrance per-character or per-word with fade, blur, or slide variants. Staggered with framer-motion.

Use and inspectUse this when the motion supports the surrounding content. Connect callbacks and state to your app, keep the reset preview as a local demonstration, and add a reduced-motion fallback for movement or looping. The preview is synthetic; it does not call a backend.Next: inspect the source below and replace the demo inputs with your own data.
Text EffectAnimates text entrance per-character or per-word with fade, blur, or slide variants. Staggered with framer-motion.
Installnpm install framer-motion

Props

PropTypeDefaultDescription
textrequiredstringText to animate
variant"fade" | "blur" | "slide""fade"Animation style
per"char" | "word""char"Split by character or word
delaynumber0Delay before animation starts