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

Auto Cover

Magazine-style cover that auto-cycles through a stack — large title, issue number, vertical spine text, with a pointer-driven tilt, a per-cover link, six entrance modes, and an optional pause-on-cover-hover.

ReactImageInteractiveFont#cover#magazine#typography

Usage

import AutoCover from '@crazygl/hero-autocover';

export default function Hero() {
  return (
    <AutoCover
      cover1Title="Drift"
      cover1Image="/covers/winter.jpg"
      cycleSec={3.4}
      transitionMode="slide"
    />
  );
}

Customise

  • Covers — three slots, each with a title, issue line, image, and optional url (turns the cover into a link; external URLs open in a new tab).
  • MotioncycleSec hold time, transitionMode (slide/fade/flip/lift/drop/zoom), transitionMs duration, pointerTilt strength, and pauseOnHover.
  • StyletitleColor, issueColor, spineColor, headingFontFamily (Google font), headingFontWeight.
  • BackdroptransparentBackground and bgColor.

Best for

  • Publication, magazine, or editorial landing pages.
  • Showcasing a rotating set of featured stories or issues.
  • Portfolio or product launch heroes that need a tactile, print-like feel.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-autocover
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 AutoCover from '@crazygl/hero-autocover';

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

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

Gradient Text

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

3D Depth Text

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

Card Expand Reveal

Horizontal accordion of cards — the active card stretches to reveal an inner story, others compress to vertical labels. Auto-cycles on idle.

Dynamic Fill Nav

A nav bar where each link reveals a coloured fill on hover — left-to-right wipe behind a flat-coloured label.

Font Changer

Heading cycles through a curated stack of Google Fonts on a timer — each crossfade preserves the line so the words stay readable while the personality changes. Per-font scale is auto-normalised so display, mono, and handwriting faces all read at the same visual size. Prefix and suffix stay in a fixed font when you only want part of the line to flip.

Type Writer Custom

A typewriter with fully customisable per-step sequencing: type N chars, pause, delete M chars, type more, then loop.
Live customizer

Auto Cover

Cover 1 titleCover 1 issueCover 1 imageCover 1 linkOptional. When set, the cover becomes a link. External URLs open in a new tab.Cover 2 titleCover 2 issueCover 2 imageCover 2 linkCover 3 titleCover 3 issueCover 3 imageCover 3 linkCycle (s)3.4sTime each cover holds before advancing.Pause on cover hoverWhen on, the cycle freezes while the pointer is directly over the card so the reader can dwell. Hovering the surrounding canvas doesn't pause.TransitionTransition duration (ms)700msPointer tilt0.5How strongly the pointer rotates the cover when hovering. 0 keeps the static resting tilt.Title colourIssue colourSpine colourFontTitle weight700Transparent backgroundBackground
CrazyGL · crazygl.comProgrammable hero sections for real websites.