Typography
CreativeMorphing 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.
npx @galactrex/ui add morphing-textUsage
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.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
words | string[] | — | The words. |
as | ElementType | "span" | Element. |
every | number | 2.6 | Seconds per word. |
morph | number | 1 | Seconds of the melt. |
className | string | — | 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.