{"_id":"@crazygl/hero-card-expand-reveal","_rev":"2-8ce19fc971a62cd42a89b1c07335d77c","name":"@crazygl/hero-card-expand-reveal","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@crazygl/hero-card-expand-reveal","version":"0.1.0","author":{"name":"ybouane"},"license":"Apache-2.0","_id":"@crazygl/hero-card-expand-reveal@0.1.0","maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"homepage":"https://crazygl.com/hero/card-expand-reveal","bugs":{"url":"https://github.com/crazygl-com/hero-card-expand-reveal/issues"},"dist":{"shasum":"8af0083297e2fbd4132db3317d94650f04b27056","tarball":"https://registry.npmjs.org/@crazygl/hero-card-expand-reveal/-/hero-card-expand-reveal-0.1.0.tgz","fileCount":9,"integrity":"sha512-RtW5ecYHnNObDTaOqRjgOzXHcJF3hKWV8CpbGvNks1JiOnWLmxaRQ5E2tMuAbRCdxVIGsj2dLV/WCosqcZQiOQ==","signatures":[{"sig":"MEQCIHjqE2P4FAj9GAtzZiAP5yQpn31xdtYH3hpV6CgavXsLAiBN6MckZscUitnKEi+nizcV0zrdU4jhQ8F4LPD3B8ZLQg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33983},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./style.css":"./style.css","./metadata.json":"./metadata.json"},"gitHead":"39a4a5dd07e85db73bd709ec758631bb9a5e14f0","_npmUser":{"name":"ybouane","email":"ybouane@ybouane.com"},"repository":{"url":"git+https://github.com/crazygl-com/hero-card-expand-reveal.git","type":"git"},"_npmVersion":"11.12.0","description":"Card Expand Reveal — expanding cards revealing text","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@crazygl/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hero-card-expand-reveal_0.1.0_1782870606419_0.17406597101756605","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@crazygl/hero-card-expand-reveal","version":"0.1.1","description":"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. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./metadata.json":"./metadata.json","./style.css":"./style.css"},"dependencies":{"@crazygl/core":"^0.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18"},"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/card-expand-reveal","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-card-expand-reveal.git"},"publishConfig":{"access":"public"},"keywords":["accordion","expand","typography","card-expand-reveal","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-card-expand-reveal/issues"},"gitHead":"4a462c2701a296dcdb0a81b9273567739da89464","_id":"@crazygl/hero-card-expand-reveal@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-vKLWaSEMGC44tTRvICJkL0qiUZd2TpHsSPbrs4s72EcZk+DPEtPwYelShZlVRS+VCDvSJ8qBNLPJ1R5IRv5H3A==","shasum":"5dc02c3396dbd7e72a49e36792ca38d00a957676","tarball":"https://registry.npmjs.org/@crazygl/hero-card-expand-reveal/-/hero-card-expand-reveal-0.1.1.tgz","fileCount":9,"unpackedSize":34513,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCx3v5C9DrZ8iqpdykcyRzWDw9ebVbL2Zp+a7cNjHio3gIgVTlfGGuWVHTNvoSI0cb3lRpqRT+8kUfmmhW7VlbrXq8="}]},"_npmUser":{"name":"ybouane","email":"ybouane@ybouane.com"},"directories":{},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hero-card-expand-reveal_0.1.1_1782922273230_0.16688548772401335"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T01:50:06.290Z","modified":"2026-07-01T16:11:13.573Z","0.1.0":"2026-07-01T01:50:06.552Z","0.1.1":"2026-07-01T16:11:13.417Z"},"bugs":{"url":"https://github.com/crazygl-com/hero-card-expand-reveal/issues"},"author":{"name":"ybouane"},"license":"Apache-2.0","homepage":"https://crazygl.com/hero/card-expand-reveal","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-card-expand-reveal.git"},"description":"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. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"readme":"<sub>*Hero made by [@ybouane](https://x.com/ybouane).*</sub>\n<p align=\"center\">\n  <img src=\"https://crazygl.com/heroes/hero-card-expand-reveal/banner-full.png\" alt=\"Card Expand Reveal\" width=\"640\">\n</p>\n\n# @crazygl/hero-card-expand-reveal\n\nHorizontal accordion of cards — the active card stretches to reveal an inner story, others compress to vertical labels. Auto-cycles on idle.\n\n## Demo\n[Card Expand Reveal](https://crazygl.com/hero/card-expand-reveal)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-card-expand-reveal\n```\n\n## Usage\n\n```tsx\nimport CardExpandReveal from '@crazygl/hero-card-expand-reveal';\n\nexport default function Page() {\n  return (\n    <CardExpandReveal\n      card1Label=\"Design\"\n      card1Body=\"Brand identity from logo to ledger.\"\n      card1Color=\"#ff5c8a\"\n      autoCycleSec={3.2}\n    />\n  );\n}\n```\n\n## Customise\n\n- **Cards** — four slots, each with `cardNLabel`, `cardNBody`, and `onCardNClick` (URL or function).\n- **Cycle** — `autoCycleSec`, the idle dwell time per card before advancing.\n- **Colours** — per-card `cardNColor`, plus `labelColor`, `bodyColor`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop** — `transparentBackground`, `bgColor`.\n\n## Best for\n\n- Service/process overviews (Design → Build → Ship)\n- Product feature highlights and pricing-tier teasers\n- Portfolio or agency landing sections that reward exploration\n\n\n\nThis hero is part of [CrazyGL](https://crazygl.com), 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.\n","readmeFilename":"README.md","keywords":["accordion","expand","typography","card-expand-reveal","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"]}