
Text Shimmer
A CSS shimmer sweep for headlines, one single element and entirely GPU-friendly.
Blur-morphing headlines that cycle phrases with a gooey, seamless crossfade.
Text Morphing is a React and Tailwind CSS morphing text animation that dissolves one phrase into the next with a blur crossfade and a gooey SVG threshold filter, in Next.js or any React app, with no dependencies. Phrases cycle on a timer set by morphDuration and cooldownDuration, the loop pauses off screen, and reduced motion shows the first phrase as plain text. The phrases sit in the server HTML and the as prop makes it a real heading. It ships with a large fixed size and height, so override both through className.
Run the following command
pnpm dlx wensity@latest add text-morphing
npx wensity@latest add text-morphing
yarn dlx wensity@latest add text-morphing
bunx wensity@latest add text-morphing
Import TextMorphing from @/components/wensity/text-morphing 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 { TextMorphing } from "@/components/wensity/text-morphing";export default function Example() {return (<TextMorphingtexts={["Wensity","presents","text","morphing","animation",]}/>);}
| Prop | Type | Default | Description |
|---|---|---|---|
texts | string[] | - | Phrases to cycle through. Needs at least two for a morph. |
morphDuration | number | 1.5 | Length of each morph crossfade, in seconds. |
cooldownDuration | number | 0.5 | Hold time on the settled phrase before the next morph, in seconds. |
paused | boolean | false | Pause the loop. |
as | "p" | "span" | "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div" | Element to render. Pass "h1" or "h2" to make the morphing phrase a real heading. |

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.

A per-character slide-left cascade with a cleanly staggered entrance timing.

Headline entrances driven entirely by your own custom Framer Motion variants.
Featured in React text animations.