React text animations

30 examples. Text animations built with React and Framer Motion. Rolling numbers, word reveals, scramble effects, typewriters and liquid type.

React text animations: common questions

How do I build text animations in React?
Pick an example below, copy its prompt (or send it to Claude Code, Cursor or Codex) and your agent builds it in React. Each prompt lists the layout, timing and easing, and links a keyframe sheet of the motion. Framer Motion (now motion/react) covers most UI work: layout animations, AnimatePresence for enter and exit, gestures and springs. Use GSAP for long timelines and scroll choreography, and three.js or react-three-fiber for 3D.
How do I animate numbers changing?
Roll each digit separately: contentTransition(.numericText()) in SwiftUI, or a column per digit translated vertically on the web.
How do I reveal text on scroll?
Split the text into words, then animate opacity, blur or colour per word with a small stagger tied to scroll progress.

Text animations in other frameworks

More React animations