Account

Typography

Creative

Blur Text

Each word (or letter) starts blurred and slightly low and sharpens into place. For headlines that should land softly.

Install

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

Terminal
npx @galactrex/ui add blur-text

Usage

Example
import { BlurText } from "@/components/galactrex/blur-text";

<BlurText as="h1" text="Quiet tools for loud ideas." />

Source

Installs to components/galactrex/blur-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
textstring—The text.
asElementType"p"Element.
by"word" | "char""word"Pieces.
trigger"mount" | "inView" | "hover" | "manual""inView"When it plays.
activeboolean—Plays when true, for trigger="manual".
staggernumber0.06Seconds between pieces.
blurnumber10Starting blur in px.
classNamestring—Extra classes for the outer element.

Variants

  • Headline. By word, on arrival.
  • Whisper. By letter with a small blur.

Accessibility

  • Real text read once; pieces are aria-hidden.

Motion and reduced motion

  • Opacity, filter and transform per piece.
  • Reduced motion: shown at once.