{"_id":"@crazygl/hero-energy-beam-cta","_rev":"2-8a736d3fc13e5f414f80878a90ac8e7f","name":"@crazygl/hero-energy-beam-cta","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@crazygl/hero-energy-beam-cta","version":"0.1.0","author":{"name":"ybouane"},"license":"Apache-2.0","_id":"@crazygl/hero-energy-beam-cta@0.1.0","maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"homepage":"https://crazygl.com/hero/energy-beam-cta","bugs":{"url":"https://github.com/crazygl-com/hero-energy-beam-cta/issues"},"dist":{"shasum":"22694ef887c7a5ef4231d5b7b05c7921c70d0dac","tarball":"https://registry.npmjs.org/@crazygl/hero-energy-beam-cta/-/hero-energy-beam-cta-0.1.0.tgz","fileCount":11,"integrity":"sha512-VyF1KbB2rqtW5QLY7yVvzcxjupZxoOnEdFiC7OLnEtwbp5FzkWZOb+BxpqWwjptx6RPSLqzWXAsujdK3E7ubpw==","signatures":[{"sig":"MEUCIQDc43tNly6PKx8Z963ernD2hrsf/JFKtwH6tZxEeV+SUAIgKKO4fvARC01hGV8ivhjIlxkWw/jqLoy3ctJbMj7S45k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81939},"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":"53764011f39dadeb1aace50111bf0f6312e4650c","_npmUser":{"name":"ybouane","email":"ybouane@ybouane.com"},"repository":{"url":"git+https://github.com/crazygl-com/hero-energy-beam-cta.git","type":"git"},"_npmVersion":"11.12.0","description":"Energy Beam CTA — the main call-to-action button emits a glowing vertical beam connecting it to a tilted product dashboard below. Hover the CTA to ignite a brighter beam, a particle burst, and a wake ripple across the dashboard.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"three":"^0.160.0","@crazygl/core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/hero-energy-beam-cta_0.1.0_1782871003289_0.39282891875194115","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@crazygl/hero-energy-beam-cta","version":"0.1.1","description":"Energy Beam CTA — A conversion-focused hero: the main CTA button emits a glowing vertical beam that connects to a tilted product dashboard, making the button feel like it activates the product. Hover the CTA to brighten… A customizable CrazyGL animated he","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/energy-beam-cta","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-energy-beam-cta.git"},"publishConfig":{"access":"public"},"keywords":["three","3d","cta","beam","screenshot","dashboard","saas","conversion","landing","interactive","energy-beam-cta","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","frontend","component","canvas"],"bugs":{"url":"https://github.com/crazygl-com/hero-energy-beam-cta/issues"},"gitHead":"805dcc5a51c52566552f58c7ae06120daf556a02","_id":"@crazygl/hero-energy-beam-cta@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-K9voMBP6sflLg8po9s4qLQ+jiCSOxh4yD2wHJeZ/zac940jpCWjDOghcf1MYb6O3U+Mi757qHxVVOOkN+4mqYg==","shasum":"dc995215e81bea3b49c9b809a894f622ff4c8c07","tarball":"https://registry.npmjs.org/@crazygl/hero-energy-beam-cta/-/hero-energy-beam-cta-0.1.1.tgz","fileCount":11,"unpackedSize":82399,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBRDwPRfuK55kHilimeMNWiWpbxpk9gKh0M54UzmSaf9AiEAyl83MQnO4nARbIo+u+Ipj9bVFDazBmTH1pzhL3Zt19M="}]},"_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-energy-beam-cta_0.1.1_1782922311900_0.7387529540623283"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T01:56:43.140Z","modified":"2026-07-01T16:11:52.188Z","0.1.0":"2026-07-01T01:56:43.457Z","0.1.1":"2026-07-01T16:11:52.047Z"},"bugs":{"url":"https://github.com/crazygl-com/hero-energy-beam-cta/issues"},"author":{"name":"ybouane"},"license":"Apache-2.0","homepage":"https://crazygl.com/hero/energy-beam-cta","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-energy-beam-cta.git"},"description":"Energy Beam CTA — A conversion-focused hero: the main CTA button emits a glowing vertical beam that connects to a tilted product dashboard, making the button feel like it activates the product. Hover the CTA to brighten… A customizable CrazyGL animated he","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-energy-beam-cta/banner-full.png\" alt=\"Energy Beam CTA\" width=\"640\">\n</p>\n\n# @crazygl/hero-energy-beam-cta\n\nA conversion-focused hero: the main CTA button emits a glowing vertical beam that connects to a tilted product dashboard, making the button feel like it activates the product. Hover the CTA to brighten the beam, burst particles, and ripple a wake across the dashboard.\n\n## Demo\n[Energy Beam CTA](https://crazygl.com/hero/energy-beam-cta)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-energy-beam-cta\n```\n\n## Usage\n\n```tsx\nimport EnergyBeamCta from '@crazygl/hero-energy-beam-cta';\n\nexport default function Page() {\n  return (\n    <EnergyBeamCta\n      heading=\"Hit go. Watch it work.\"\n      ctaLabel=\"Get started →\"\n      onCTAClick=\"https://app.example.com/signup\"\n      screenshot=\"https://crazygl.com/samples/screenshot-dashboard-dark-2.avif\"\n    />\n  );\n}\n```\n\n`onCTAClick` accepts EITHER a string URL (navigates via `window.location.href`) OR a function `(event) => void` callback. Omit or pass an empty string to leave the button inert.\n\n## Customise\n\n- **CTA** — `ctaLabel`, `ctaTextColor`, `ctaBgColor`, `ctaGlowColor`, `ctaGlowStrength`, `ctaHoverBoost`.\n- **Beam** — `beamColor`, `beamColorPulse`, `beamWidth`, `beamIntensity`, `pulsePeriod`.\n- **Particles** — `burstCount`, `burstColor` (spawned on hover).\n- **Screenshot** — `screenshot`, `screenshotX/Y`, `screenshotScale`, `screenshotTilt`, `screenEmissive`, `wakeStrength`.\n- **Atmosphere** — `bgTop`, `bgBottom`, `transparentBackground`.\n\n## Best for\n\n- Conversion-focused SaaS landing pages\n- AI / analytics product launches where the CTA *is* the demo\n- High-stakes upgrade or activation flows\n- Pricing pages where one button drives the click\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":["three","3d","cta","beam","screenshot","dashboard","saas","conversion","landing","interactive","energy-beam-cta","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","frontend","component","canvas"]}