Skip to content

Morphing Words

Words dissolve through a soft blur while the headline keeps its width.

LIVE PREVIEWInteract with the component
Just React. No extra dependencies.

Copy the component and its CSS module into your project.

CSS Modules

Usage

Matches your current playground settings.

jsx
import MorphingWords from "./MorphingWords";
export default function Example() {
return (
<MorphingWords
words={[
"Make it tangible.",
"Make it thoughtful.",
"Make it yours."
]}
interval={3000}
color={"#e5d4c3"}
paused={false}
/>
);
}

Using Morphing Words

Supply your own phrases through words and set typography with style. An invisible sizing layer reserves the width of the longest phrase to prevent layout jumps.

The timer pauses in hidden tabs and when reduced motion is enabled. The outgoing visual copy is hidden from assistive technology so the current phrase is read once.

Props

NameTypeRequiredDefaultDescription
wordsstring[]No[]Words or phrases to cycle through.
intervalnumberNo3000Time between changes in milliseconds, with a minimum of 1000.
colorstringNo"#e5d4c3"Text colour.
pausedbooleanNofalseStop advancing the displayed phrase.
classNamestringNo""Additional classes on the root element.
styleCSSPropertiesNoundefinedInline styles for sizing, typography and appearance.

Related components

Reflection Text

Text Effects

Crisp typography meets a soft, fading reflection beneath the baseline.

Dot Matrix Text

Text Effects

Amber pinpoints form a crisp matrix display with a soft travelling pulse.

Scan Text

Text Effects

A warm scanning light brings a dim headline into focus.

Embossed Text

Text Effects

Sculpted metallic lettering catches the light as your pointer moves.