Text Animations

Morphing Text

A gooey blur-morph that cross-dissolves between a list of words.

Adapted from React Bits

Install

bun add clsx tailwind-merge

Then copy 2 files into your project:

  • components/registry/morphing-text/morphing-text.tsx
  • lib/utils.ts

Props

PropTypeDefaultDescription
autobooleantrueLoop through the words forever (off = morph once).

What It Demonstrates

Text morph
Text that animates character by character when it changes, drawing attention to the new value.
Morph
One shape smoothly turns into another shape, e.g. Dynamic Island.
Crossfade
One element fades out as another fades in, in the same spot.
Blur
A blur filter used to soften an element or mask tiny imperfections.
Loop
An animation that repeats, a set number of times or infinitely.

Related Components

Appears In