CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/scattered-sentence

Scattered Sentence

Words start scattered across the canvas at random positions and angles, then converge into a single readable sentence — chaos resolving into order.

ReactFont#scatter#converge#typography

Usage

import ScatteredSentence from '@crazygl/hero-scattered-sentence';

export default function Hero() {
  return (
    <ScatteredSentence
      sentence="every word eventually finds its place"
      convergeMs={1800}
    />
  );
}

Customise

  • Contentsentence.
  • Timingloop, convergeMs, holdMs, scatterMs, scatterRadius.
  • TypographytextColor, fontSize, headingFontFamily, headingFontWeight.
  • BackdroptransparentBackground, bgColor.

Best for

  • Tagline or mission-statement hero text that resolves into focus on load.
  • Looping kinetic typography for landing pages and product launches.
  • A "chaos into order" motif for brand or editorial intros.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-scattered-sentence
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 ScatteredSentence from '@crazygl/hero-scattered-sentence';

export default function Landing() {
  return (
    <ScatteredSentence />
  );
}
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 ScatteredSentence from '@crazygl/hero-scattered-sentence';

export default function Page() {
  return (
    <section>
      <ScatteredSentence
        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

Scrambly Text

Heading scrambled into random glyphs that resolve in a non-left-to-right order — characters lock in scattered across the word.

Text Hover Icon

A sentence where designated keywords morph into a glyph on hover and bounce back to text on leave — the words become controls.

Gradient Text

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

Cursor Shadow Text

The heading casts a real drop shadow whose direction tracks the cursor — like a single fixed light moving across the room.

Scramble Shuffle Text

A hybrid: letters first scramble into random glyphs, then physically shuffle position, then settle into their target — two effects in one timeline.

Scroll Text Color

A heading whose colour sweeps from start to end as the user scrolls — uses background-clip:text for crisp gradient handover.
Live customizer

Scattered Sentence

LoopWhen off, the sentence converges once and holds forever — no scatter, no repeat.Converge (ms)1800msHold (ms)2200msScatter (ms)1200msScatter radius (px)280pxText colourFont size64pxFontWeight700Transparent backgroundBackground
CrazyGL · crazygl.comProgrammable hero sections for real websites.