{"_id":"@crazygl/hero-product-carousel","name":"@crazygl/hero-product-carousel","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-product-carousel","version":"0.1.1","description":"Product Carousel — A centred showcase carousel for transparent product PNGs — the active product sits front and large while the previous and next peek in from the sides, dimmed and scaled. Swipe, drag, arrows or dots;… A customizable CrazyGL animated hero","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"},"keywords":["carousel","product","slider","png","transparent","coverflow","swipe","showcase","product-carousel","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/product-carousel","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-product-carousel.git"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/crazygl-com/hero-product-carousel/issues"},"gitHead":"d80da8743ab9dafbbd0a7ed8a9a09f0bcb2d2fb0","_id":"@crazygl/hero-product-carousel@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-u4suZnN8M1BLMFgphOX/acN2yUOIAdTFJ0r4saemXPL+FkQU7N5IkwmtU4cyd++OMnnHbXhkjWKd0Qdy5+zpZg==","shasum":"4b546cecc8794bca06756dc08b2eb95bd040e04d","tarball":"https://registry.npmjs.org/@crazygl/hero-product-carousel/-/hero-product-carousel-0.1.1.tgz","fileCount":9,"unpackedSize":57838,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDzWZhViemjgTGXVh3ZY3mSzANCOgXZE3TrTKYuimxRkAiBLAgMedsMP8n3rzEB3HAvuAigQLDOY0/PUhizgQsQdqQ=="}]},"_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-product-carousel_0.1.1_1782922477752_0.2321915989035963"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:14:37.599Z","0.1.1":"2026-07-01T16:14:37.903Z","modified":"2026-07-01T16:14:38.105Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Product Carousel — A centred showcase carousel for transparent product PNGs — the active product sits front and large while the previous and next peek in from the sides, dimmed and scaled. Swipe, drag, arrows or dots;… A customizable CrazyGL animated hero","homepage":"https://crazygl.com/hero/product-carousel","keywords":["carousel","product","slider","png","transparent","coverflow","swipe","showcase","product-carousel","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-product-carousel.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-product-carousel/issues"},"license":"Apache-2.0","readme":"<sub>*Hero made by [@ybouane](https://x.com/ybouane).*</sub>\n<p align=\"center\">\n  <img src=\"https://crazygl.com/heroes/hero-product-carousel/banner-full.png\" alt=\"Product Carousel\" width=\"640\">\n</p>\n\n# @crazygl/hero-product-carousel\n\nA centred showcase carousel for transparent product PNGs — the active product sits front and large while the previous and next peek in from the sides, dimmed and scaled. Swipe, drag, arrows or dots; products swing into frame with captions that animate in.\n\n## Demo\n[Product Carousel](https://crazygl.com/hero/product-carousel)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-product-carousel\n```\n\n## Usage\n\n```tsx\nimport ProductCarousel from '@crazygl/hero-product-carousel';\n\nexport default function Page() {\n  return (\n    <ProductCarousel\n      slideCount={4}\n      slide1Image=\"https://crazygl.com/samples/product-vase.png\"\n      slide1Heading=\"Helix Vase\"\n      autoplay\n    />\n  );\n}\n```\n\n## Customise\n\n- **Slides** — `slideCount` (1–6) plus per-slide `slideNImage` / `slideNEyebrow` / `slideNHeading` / `slideNSubtext`.\n- **Layout** — `spacing` (side spread), `sideScale`, `sideOpacity`, `sideBlur`, `pointerParallax`, `tiltSides`, `floor` shadow.\n- **Motion** — `duration`, `easing` (expo / smooth / back / ease), `textTransition` (fade / rise / clip / blur), `autoplay`, `interval`.\n- **Style** — `bgTop` / `bgBottom` backdrop, `textColor`, `accentColor`, `showArrows` / `showDots` / `showCounter`, `headingFont` / `bodyFont`.\n\n## Best for\n\n- E-commerce product launches and DTC landing pages.\n- Furniture, gadget, and lifestyle catalogues with clean PNG cut-outs.\n- Portfolio or collection showcases that need swipe/drag navigation.\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","_rev":"1-5762253368e8353d0181f02adf93ea73"}