Account

Typography

Creative

Morphing Text

Two copies cross-blur under a threshold filter so letters look like liquid flowing into the next word.

Install

Included with Creative: needs your API key. Initialize and log in once.

Terminal
npx @galactrex/ui add morphing-text

Usage

Example
import { MorphingText } from "@/components/galactrex/morphing-text";

<MorphingText words={["Design", "Build", "Ship"]} />

Source

Installs to components/galactrex/morphing-text.tsx, with the shared motion primitives beside it.

Source for this component comes with its plan. Install it with the command above, or open your licensed copy here.

See plans

Props

PropTypeDefaultDescription
wordsstring[]—The words.
asElementType"span"Element.
everynumber2.6Seconds per word.
morphnumber1Seconds of the melt.
classNamestring—Extra classes for the outer element.

Variants

  • Tagline. Two to five short words.

Accessibility

  • The word list is read once; the morph is aria-hidden.

Motion and reduced motion

  • Blur and opacity per frame through an SVG threshold; pauses offscreen.
  • Reduced motion: the first word.