{"_id":"@crazygl/hero-neon-cta-dock","name":"@crazygl/hero-neon-cta-dock","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-neon-cta-dock","version":"0.1.1","description":"Neon CTA Dock — A cyberpunk control-dock hero: 1-3 CTA buttons rendered as thick glowing physical panels on a floating console, with periodic light pulses, hover halos, and click bursts. Real, clickable DOM buttons with… 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"},"peerDependencies":{"react":">=18","react-dom":">=18"},"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/neon-cta-dock","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-neon-cta-dock.git"},"publishConfig":{"access":"public"},"keywords":["webgl","cta","cyberpunk","buttons","neon","dock","landing","interactive","waitlist","launch","neon-cta-dock","crazygl","hero","hero-section","react","animation","ui","landing-page","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-neon-cta-dock/issues"},"gitHead":"e4736a7ab40e29f66cdf4ef37e05088c9598417a","_id":"@crazygl/hero-neon-cta-dock@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-2tOH569kc+Jg/zJ3pVJAb8dA7uYLLDWDPrjzL8x8JS5ZIpojUt4G4ZvCLLLMyjkMCRYTDZ68LvOMRk48fROAdA==","shasum":"1733972d59da33b641b1aecf7b977f547450e5fe","tarball":"https://registry.npmjs.org/@crazygl/hero-neon-cta-dock/-/hero-neon-cta-dock-0.1.1.tgz","fileCount":11,"unpackedSize":95714,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIH794wv9olmlaqD3dqPEdZap3ZSpQQuItXeeVe8PIsajAiEAxr5vGNR6H/IPEHAiEpqnXZh+S+1sGejfU2SWjbUBSaQ="}]},"_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-neon-cta-dock_0.1.1_1782922433556_0.4008004882479188"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:13:53.367Z","0.1.1":"2026-07-01T16:13:53.707Z","modified":"2026-07-01T16:13:54.260Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Neon CTA Dock — A cyberpunk control-dock hero: 1-3 CTA buttons rendered as thick glowing physical panels on a floating console, with periodic light pulses, hover halos, and click bursts. Real, clickable DOM buttons with… A customizable CrazyGL animated he","homepage":"https://crazygl.com/hero/neon-cta-dock","keywords":["webgl","cta","cyberpunk","buttons","neon","dock","landing","interactive","waitlist","launch","neon-cta-dock","crazygl","hero","hero-section","react","animation","ui","landing-page","frontend","component","canvas","three"],"repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-neon-cta-dock.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-neon-cta-dock/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-neon-cta-dock/banner-full.png\" alt=\"Neon CTA Dock\" width=\"640\">\n</p>\n\n# @crazygl/hero-neon-cta-dock\n\nA cyberpunk control-dock hero: 1-3 CTA buttons rendered as thick glowing physical panels on a floating console, with periodic light pulses, hover halos, and click bursts. Real, clickable DOM buttons with a custom-painted WebGL glow under each one.\n\n## Demo\n[Neon CTA Dock](https://crazygl.com/hero/neon-cta-dock)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-neon-cta-dock\n```\n\n## Usage\n\n```tsx\nimport NeonCtaDock from '@crazygl/hero-neon-cta-dock';\n\nexport default function Page() {\n  return (\n    <NeonCtaDock\n      heading=\"Reserve your slot.\"\n      subheading=\"Beta access closes Friday.\"\n      buttonCount={2}\n      button1Label=\"Get early access →\"\n      button1Color=\"#56e3ff\"\n      onButton1Click=\"/signup\"\n      button2Label=\"View pricing\"\n      button2Color=\"#a070ff\"\n      onButton2Click={(e) => console.log('clicked', e)}\n    />\n  );\n}\n```\n\nEach `onButtonNClick` accepts either a string URL (navigates via `window.location.href`) or a function callback (receives the `MouseEvent`).\n\n## Customise\n\n- **Content** — `heading` / `subheading`, two-column, or fully custom node content.\n- **Buttons** — `buttonCount` (1–3), per-button `labelN`, `colorN`, and `onButtonNClick`.\n- **Button styling** — `buttonGlow`, `pulseEnabled` / `pulsePeriod`, `hoverBoost`, `clickBurst`.\n- **Dock surface** — `dockEnabled`, `dockColor`, `dockGlow`, padding, corner radius, border colour/strength.\n- **Atmosphere** — background strips (count/width/speed), particles (count/size/speed), `bgTop`/`bgBottom` gradient, transparency.\n- **Motion** — `parallaxStrength` for the pointer-driven scene shift.\n\n## Best for\n\n- Product launches and waitlist / beta-access pages chasing one decisive click.\n- Developer tools, AI products, and crypto or gaming landing pages.\n- \"Reserve your slot\" countdown and early-access moments where the CTA is the hero.\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-1935cffddb75860232cdd1ce8c71eac7"}