@crazygl/hero-draggable-portfolio-cards
v0.1.1
Published
Draggable Portfolio Cards — Portfolio cards float behind the headline and can be dragged with momentum, making the hero feel tactile and playful. A customizable CrazyGL animated hero section — WebGL, React, drop-in.
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-draggable-portfolio-cards
Portfolio cards float behind the headline and can be dragged with momentum, making the hero feel tactile and playful.
Demo
Install
npm install @crazygl/hero-draggable-portfolio-cardsUsage
import DraggablePortfolioCards from '@crazygl/hero-draggable-portfolio-cards';
export default function Page() {
return (
<DraggablePortfolioCards
heading={"A stack you\ncan explore."}
card1Image="/shots/dashboard.avif"
cardCount={5}
cursorTilt={0.7}
/>
);
}Customise
- Content —
contentType,heading,subheading, or custom nodes. - Screenshots —
card1Image–card5Image(your real product shots; ~16:9 reads best). - Stack —
cardCount(2–6),cardSize,cardCornerRadius,groupOffsetX/Y. - Motion —
cursorTilt(pointer parallax),ambientFloat(idle bob). - Style —
edgeGlowColor/edgeGlowStrength,shadowStrength. - Lighting —
keyColor,fillColor,screenBrightness(emissive boost on the screenshots). - Background —
bgTop/bgBottom.
Best for
- Product studios and agency portfolios showing several screens at once.
- SaaS launch pages cycling through dashboards, builders, and editors.
- Template or theme marketplaces with a gallery of previews.
- Editorial showcases wanting a tactile, playful first impression.
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.
