CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/sonic-text

Sonic Text

Heading paired with a procedurally simulated audio waveform — bars rise and fall in time-correlated bands and the text stretches subtly with the loudest beats.

ReactFont#audio#waveform#typography

Usage

import SonicText from '@crazygl/hero-sonic-text';

export default function Hero() {
  return (
    <SonicText
      heading="now playing"
      subheading="Crazyglow · Voltage Drop"
      bpm={120}
    />
  );
}

Customise

  • Contentheading, subheading.
  • WaveformbarCount, barGap, barMaxHeight, bpm (drives the kick pulse).
  • TypographytextColor, subColor, barColor, barAccent, fontSize, headingFontFamily, headingFontWeight.
  • BackdropbgColor, transparentBackground.

Best for

  • Music, podcast, and audio-product landing pages.
  • "Now playing" / release announcement hero blocks.
  • Event and DJ / label sites wanting a kinetic, sound-coded headline.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-sonic-text
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 SonicText from '@crazygl/hero-sonic-text';

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

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

Audio-Reactive Hero

A central logo or preview image framed by a reactive visualizer — a radial frequency-bar ring and waveform that pulse with glow blooms on every beat. Alive without sound, with optional mic or file audio.

Gradient Text

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

Text Illuminate

A spotlight follows the cursor across the heading — letters under the beam glow and brighten, the rest fall into shadow.

Scrambly Text

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

Text Reveal

Heading wiped in from a single direction via a hard clip-path mask, with a small per-letter delay — the foundational reveal everyone needs.

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.
Live customizer

Sonic Text

Bar count80Bar gap (px)4pxMax bar height (px)110pxBPM120Text colourSubheading colourBar colourBar accentHeading size96pxFontWeight700Transparent backgroundBackground
CrazyGL · crazygl.comProgrammable hero sections for real websites.