{"_id":"@crazygl/hero-product-elemental-scene","name":"@crazygl/hero-product-elemental-scene","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-product-elemental-scene","version":"0.1.1","description":"Product in Elemental Scene — A 3D product floats inside a stylised elemental world chosen from its benefit — water, fire, ice, cloud, earth or light. A custom environmental shader and an instanced particle system… A customizable CrazyGL animated hero sect","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","three":"^0.160.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/product-elemental-scene","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-product-elemental-scene.git"},"publishConfig":{"access":"public"},"keywords":["3d","product","elemental","atmosphere","particles","shader","benefit","three","product-elemental-scene","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas"],"bugs":{"url":"https://github.com/crazygl-com/hero-product-elemental-scene/issues"},"gitHead":"94e7edfb8d7ca9b6b4e22956176d20a14659a297","_id":"@crazygl/hero-product-elemental-scene@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-t/6pkrfcED1xp5R/9bJuB2xFC9g3zFKoBh8j/AYBGR+6ME/9sIJ3q5hU8QsObKVLfG+RjEa1FcJObUsRvkxiOQ==","shasum":"1df098860bb0392e6ab487924085790d666ae455","tarball":"https://registry.npmjs.org/@crazygl/hero-product-elemental-scene/-/hero-product-elemental-scene-0.1.1.tgz","fileCount":11,"unpackedSize":76293,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDME9VnYznIpgGb7X1X4SlHQNURjEy0eOqoK5HW/bu4DwIgN7JLJrBqPAo033oycwoKj1Zc58GWIFvsXOn1RFMQ8RU="}]},"_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-elemental-scene_0.1.1_1782922483466_0.9319200053943966"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:14:43.284Z","0.1.1":"2026-07-01T16:14:43.605Z","modified":"2026-07-01T16:14:43.892Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Product in Elemental Scene — A 3D product floats inside a stylised elemental world chosen from its benefit — water, fire, ice, cloud, earth or light. A custom environmental shader and an instanced particle system… A customizable CrazyGL animated hero sect","homepage":"https://crazygl.com/hero/product-elemental-scene","keywords":["3d","product","elemental","atmosphere","particles","shader","benefit","three","product-elemental-scene","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas"],"repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-product-elemental-scene.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-product-elemental-scene/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-elemental-scene/banner-full.png\" alt=\"Product in Elemental Scene\" width=\"640\">\n</p>\n\n# @crazygl/hero-product-elemental-scene\n\nA 3D product floats inside a stylised elemental world chosen from its benefit — water, fire, ice, cloud, earth or light. A custom environmental shader and an instanced particle system surround the product and tint its lighting to match the element.\n\n## Demo\n[Product in Elemental Scene](https://crazygl.com/hero/product-elemental-scene)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-product-elemental-scene\n```\n\n## Usage\n\n```tsx\nimport ProductElementalScene from '@crazygl/hero-product-elemental-scene';\n\nexport default function Hero() {\n\treturn (\n\t\t<ProductElementalScene\n\t\t\telement=\"water\"\n\t\t\tmodel=\"https://crazygl.com/samples/camera.glb\"\n\t\t\theading=\"Drawn from the elements.\"\n\t\t/>\n\t);\n}\n```\n\n## Customise\n\n- **Content** — heading + subheading, two columns, or a custom node; copy auto-anchors to the side opposite the product.\n- **Element & Atmosphere** — `element` (water / fire / ice / cloud / earth / light), `intensity`, `atmosphereSpeed`, `particleDensity`, `accentColor` (overrides the element's signature hue everywhere).\n- **Product** — `model` (GLB/GLTF), `productScale`, `productYaw` / `productPitch` (static three-quarter angle), `floatAmp`, `positionX` / `positionY`, `parallaxStrength`, plus material overrides (`useGlbMaterials`, `productTint`, `productColor`, `productMetalness`, `productRoughness`).\n- **Floor** — `showFloor`, `floorColor` (a soft non-reflective surface that melts into the atmosphere).\n- **Lighting** — `environmentImage` (equirectangular HDRI for IBL), `envIntensity`, `exposure`, `keyLightIntensity`.\n\n## Best for\n\n- Beauty, skincare, wellness and supplements.\n- Premium beverages, candles and fragrance.\n- Outdoor and performance gear — anywhere the benefit is a feeling rather than a spec.\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-a44601963fde57861a25e76b3633f885"}