@crazygl/hero-autocover
v0.1.1
Published
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. A customizable CrazyGL animated he
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-autocover
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.
Demo
Install
npm install @crazygl/hero-autocoverUsage
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,issueline,image, and optionalurl(turns the cover into a link; external URLs open in a new tab). - Motion —
cycleSechold time,transitionMode(slide/fade/flip/lift/drop/zoom),transitionMsduration,pointerTiltstrength, andpauseOnHover. - Style —
titleColor,issueColor,spineColor,headingFontFamily(Google font),headingFontWeight. - Backdrop —
transparentBackgroundandbgColor.
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.
This hero is part of CrazyGL, a collection of production-ready WebGL, canvas, 3D, and typography effects. Every CrazyGL hero ships with an agent-ready SKILL.md file that helps developers and coding agents adapt the effect into custom landing pages and interactive experiences.
