
Text Shimmer
A CSS shimmer sweep for headlines, one single element and entirely GPU-friendly.
Spring-loaded word flips paired with a soft letter-by-letter blur stagger.
Text Word Flip is a React and Tailwind CSS word rotator that flips between words and phrases with a spring, in Next.js or any React app, built on Framer Motion. Incoming letters blur in one by one, words in a phrase stagger, and the outgoing word scales up and drifts off to the top right. Each new word is announced to screen readers, as sets the element, and reduced motion shows a static word. Like any rotator, only the visible word exists in the markup, so keep your key phrase in the words around it for search engines.
Run the following command
pnpm dlx wensity@latest add text-word-flip
npx wensity@latest add text-word-flip
yarn dlx wensity@latest add text-word-flip
bunx wensity@latest add text-word-flip
Import TextWordFlip from @/components/wensity/text-word-flip and render it anywhere in your React or Next.js app. The source lands in your own repo, so every prop, class and animation below is yours to edit.
import { TextWordFlip } from "@/components/wensity/text-word-flip";export default function Example() {return (<p className="font-display text-4xl font-semibold whitespace-nowrap">Build{" "}<TextWordFlipwords={["clean", "crisp", "sharp", "sleek"]}className="text-chili-500"/>{" "}apps with wensity</p>);}
| Prop | Type | Default | Description |
|---|---|---|---|
words | string[] | ["clean","crisp","sharp","sleek"] | Words or phrases to cycle through. |
duration | number | 1700 | Hold time per word before flipping, in milliseconds. |
letterDelay | number | 0.05 | Stagger delay between letters, in seconds. |
wordDelay | number | 0.3 | Stagger delay between words inside a phrase, in seconds. |
paused | boolean | false | Pause the cycle on the current word. |
as | "p" | "span" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | Element to render. Pass a heading tag when the rotating word is the whole headline. |

A CSS shimmer sweep for headlines, one single element and entirely GPU-friendly.

A 3D character flip on hover, staggered and springy across every single letter.

Blur-morphing headlines that cycle phrases with a gooey, seamless crossfade.

A per-character slide-left cascade with a cleanly staggered entrance timing.
Featured in React text animations.