@crazygl/hero-card-stack
v0.1.1
Published
Screenshot as a 3D Card Stack — Your main product screenshot sits on top of a stack of secondary UI cards. The front card swoops up and over to the back at a configurable interval, autonomously cycling through every… A customizable CrazyGL animated hero s
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-card-stack
Your main product screenshot sits on top of a stack of secondary UI cards. The front card swoops up and over to the back at a configurable interval, autonomously cycling through every screen. Soft drop shadows, a cyan edge glow on the top card, cursor parallax tilt.
Demo
Install
npm install @crazygl/hero-card-stackUsage
import HeroCardStack from '@crazygl/hero-card-stack';
export default function Hero() {
return (
<HeroCardStack
heading="One product, every module."
subheading="Watch the deck cycle through every screen."
screenshot1="/screens/dashboard.png"
screenshot2="/screens/builder.png"
screenshot3="/screens/editor.png"
cycleInterval={3.5}
/>
);
}Customise
- Content —
heading/subheading, or switchcontentTypetotwo-columns/customfor richer copy. - Screenshots —
screenshot1..5, one image per card. Screenshot 1 is the top (most visible) card, 5 is the bottom. Each card adopts its image's own aspect ratio. - Stack —
cardCount(2–6),stackOffsetX/Y/Z,cardSize,cardCornerRadius, plusgroupOffsetX/Yto position the whole deck. - Flip cycle —
flipCycletoggles the auto-cycle;cycleInterval(seconds) sets the pace. - Motion —
cursorTiltfor pointer parallax,ambientFloatfor a gentle continuous bob. - Style & lighting —
edgeGlowColor/edgeGlowStrength,shadowStrength,keyColor/fillColor,screenBrightness, andbgTop/bgBottomgradient.
Best for
- SaaS landing pages with multiple modules — dashboards, app builders, template galleries.
- Multi-product suites or design tools that want to show several screens at once.
- Product launches where an auto-cycling reel of screenshots tells the story hands-free.
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.
