CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/lettermorph

Letter Morph

Heading where each letter cross-fades and morphs through the next phrase — letters that match stay, letters that don't blur-swap.

ReactFont#morph#letter#transition#typography

Usage

import LetterMorph from '@crazygl/hero-lettermorph';

export default function Hero() {
  return (
    <LetterMorph
      phrases={`STORY\nSPACE\nSOUND\nSHAPE`}
      holdDuration={1500}
      morphDuration={700}
    />
  );
}

Customise

  • Contentphrases (one per line; the heading cycles through them).
  • TimingholdDuration, morphDuration, perLetterStagger, blurAmount.
  • TypographytextColor, fontSize, headingFontFamily (Google font), headingFontWeight.
  • BackdroptransparentBackground, bgColor.

Best for

  • Brand or product taglines that cycle through related words.
  • Agency / studio landing pages with a punchy single-word headline.
  • Feature reveals where the message evolves while the layout stays still.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-lettermorph
02 · Render the component

Import once, drop it in.

The component takes the same props you see in the live customizer on the right — every default ships poster-quality.

hero.tsx
import LetterMorph from '@crazygl/hero-lettermorph';

export default function Landing() {
  return (
    <LetterMorph />
  );
}
03 · Use it in a page

SSR-safe by default.

The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.

page.tsx
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';

import LetterMorph from '@crazygl/hero-lettermorph';

export default function Page() {
  return (
    <section>
      <LetterMorph
        heading="Say hi."
        subheading="Your new hero."
      />
      <article>
        <h2>Welcome</h2>
        <p>Your content keeps its own voice below the hero.</p>
      </article>
    </section>
  );
}
You might also like

Similar heroes

Text Swap Animation

Phrases swap with a clean two-layer flip — old rises and fades, new rises in from below. The cleanest possible rotator.

Scroll Text FX

Each letter scales, rotates and brightens as it passes the scroll midpoint — an editorial mid-line emphasis effect.

Magnetic Letter Field

Every character of the headline is an individual physical object. The cursor projects an invisible magnetic field — letters lean toward it, push back, and lift away. Hover a word and its letters float upward like iron filings rising from a sheet of paper.

Gradient Text

Heading filled with a slowly drifting multi-stop linear gradient — three configurable colours, customizable angle, optional animation.

Text Scrambler

Heading that scrambles into glyph soup and resolves left-to-right into the target phrase — a hacker-decode reveal that rotates through several phrases.

Long Shadow Text

Pure CSS long-shadow heading — letters cast a diagonal ramp shadow that gradient-fades into the bg, like classic flat-design posters.
Live customizer

Letter Morph

Hold (ms)1500msMorph (ms)700msPer-letter stagger (ms)60msBlur during morph10pxText colourFont size180pxFontWeight800Transparent backgroundBackground
CrazyGL · crazygl.comProgrammable hero sections for real websites.