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

Rotating Text Pro

Slot machine with a 3D flip in X — the rotating word flips over a horizontal axis like a split-flap board.

ReactFont#rotator#3d#typography

Usage

import RotatingTextPro from '@crazygl/hero-rotating-text-pro';

export default function Page() {
  return (
    <RotatingTextPro
      prefix="We are"
      rotators={"designers.\nbuilders.\ndreamers."}
      accentColor="#5b8def"
    />
  );
}

Customise

  • Contentprefix, rotators (one word per line).
  • TimingholdMs (dwell on each word), flipMs (flip duration).
  • TypographytextColor, accentColor (the rotating word), fontSize, headingFontFamily, headingFontWeight.
  • BackdroptransparentBackground, bgColor.

Best for

  • SaaS and agency hero headlines that cycle through value props.
  • Portfolio and personal sites ("We are designers / builders / …").
  • Any landing page wanting a kinetic-typography focal point with zero GPU cost.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-rotating-text-pro
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 RotatingTextPro from '@crazygl/hero-rotating-text-pro';

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

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

Rotating Headline

A static two-line headline with one slot that rotates through a list of words — the prefix and suffix stay put, the rotating word cycles.

Text Rotation

A static prefix with a vertical slot-machine rotator behind it — each word slides up, settles, and the next one rises into place.

3D Depth Text

Heading extruded with stacked text-shadow layers — a faux-3D effect with a slow camera-style tilt that follows the cursor.

Rotating Text Badge

A self-contained rotating sticker badge — text on the rim of a circle, an icon (or your own word) in the middle, next to a heading.

Circular Text Pro

Three concentric rings of text spinning at independent speeds, with a centred wordmark and accent dots — a fully composed badge.

Smart Typewriter Pro

Typewriter that only deletes the diverging tail between phrases — keeps shared prefixes intact and types only the new ending, like a writer correcting themselves.
Live customizer

Rotating Text Pro

Hold (ms)1500msFlip (ms)600msText colourRotator colourFont size96pxFontWeight700Transparent backgroundBackground
CrazyGL · crazygl.comProgrammable hero sections for real websites.