{"_id":"@crazygl/hero-code-to-product-transformation","_rev":"2-a61100e27696f8c6bdbeffbc5f4190a4","name":"@crazygl/hero-code-to-product-transformation","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@crazygl/hero-code-to-product-transformation","version":"0.1.0","author":{"name":"ybouane"},"license":"Apache-2.0","_id":"@crazygl/hero-code-to-product-transformation@0.1.0","maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"homepage":"https://crazygl.com/hero/code-to-product-transformation","bugs":{"url":"https://github.com/crazygl-com/hero-code-to-product-transformation/issues"},"dist":{"shasum":"5c6ab01441adeba43dd8fcf8c4c7be26000cea69","tarball":"https://registry.npmjs.org/@crazygl/hero-code-to-product-transformation/-/hero-code-to-product-transformation-0.1.0.tgz","fileCount":9,"integrity":"sha512-vRa76Ijof41Q9hZ0+1i3BymWPAbUPALgh+TWmzKQMALIt1MDJ4rGTZaLEHAErcKX066BHshfiswyUQVtvTkrkg==","signatures":[{"sig":"MEQCICB17VN6nIzMP7JPqIeW0lslVMUrrFiLBq2q9knkfwbXAiAVemNV17QDU82lob7+26Eko3AKnYzkpmc/lZgovq0NhQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":109677},"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":"dd96768611d339569168850b0cb3f1246b48c86e","_npmUser":{"name":"ybouane","email":"ybouane@ybouane.com"},"repository":{"url":"git+https://github.com/crazygl-com/hero-code-to-product-transformation.git","type":"git"},"_npmVersion":"11.12.0","description":"Code to Product Transformation Hero — a panel of live syntax-highlighted source code dissolves into a stream of glowing character particles that drift across the canvas and reassemble into a polished product UI screenshot. A continuous, magical 'code beco","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-code-to-product-transformation_0.1.0_1782870678098_0.11490865486625701","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@crazygl/hero-code-to-product-transformation","version":"0.1.1","description":"Code to Product Transformation — A panel of live syntax-highlighted source code dissolves into a stream of glowing character particles that stream across the canvas and reassemble into a polished product UI screenshot.… A customizable CrazyGL animated her","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/code-to-product-transformation","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-code-to-product-transformation.git"},"publishConfig":{"access":"public"},"keywords":["developer-tools","saas","code","particles","webgl","transformation","dashboard","interactive","syntax","ai","code-to-product-transformation","crazygl","hero","hero-section","react","animation","ui","landing-page","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-code-to-product-transformation/issues"},"gitHead":"26eca4d7f6c487de6eb8f13f37bbc1dda297ac83","_id":"@crazygl/hero-code-to-product-transformation@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-+DC2K7DlgAIavF5UG/OacH4o33tJpJKRR6GcSnufM+esLIkhB79yyqnjoVKBueJCQ2lnR4IQqPO+am81I5A15Q==","shasum":"f5eedc5ee269f7847771b82d200c5e5aaca36073","tarball":"https://registry.npmjs.org/@crazygl/hero-code-to-product-transformation/-/hero-code-to-product-transformation-0.1.1.tgz","fileCount":9,"unpackedSize":110093,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC4+A+Pzo+tQakj66d8B4wae4e5k47vA64PSsHfavWUiAIhAI8S91Z3xQ8iTL16jc5P99n69xomqZLlv8/P1854krqm"}]},"_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-code-to-product-transformation_0.1.1_1782922283768_0.8652496424366491"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T01:51:17.936Z","modified":"2026-07-01T16:11:24.086Z","0.1.0":"2026-07-01T01:51:18.240Z","0.1.1":"2026-07-01T16:11:23.950Z"},"bugs":{"url":"https://github.com/crazygl-com/hero-code-to-product-transformation/issues"},"author":{"name":"ybouane"},"license":"Apache-2.0","homepage":"https://crazygl.com/hero/code-to-product-transformation","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-code-to-product-transformation.git"},"description":"Code to Product Transformation — A panel of live syntax-highlighted source code dissolves into a stream of glowing character particles that stream across the canvas and reassemble into a polished product UI screenshot.… A customizable CrazyGL animated her","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-code-to-product-transformation/banner-full.png\" alt=\"Code to Product Transformation\" width=\"640\">\n</p>\n\n# @crazygl/hero-code-to-product-transformation\n\nA panel of live syntax-highlighted source code dissolves into a stream of glowing character particles that stream across the canvas and reassemble into a polished product UI screenshot. A continuous 'code becomes product' loop for developer-tool and SaaS landing pages.\n\n## Demo\n[Code to Product Transformation](https://crazygl.com/hero/code-to-product-transformation)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-code-to-product-transformation\n```\n\n## Usage\n\n```tsx\nimport CodeToProductTransformation from '@crazygl/hero-code-to-product-transformation';\n\nexport default function Hero() {\n  return (\n    <CodeToProductTransformation\n      heading=\"From a single line of code to a finished product.\"\n      subheading=\"Real components, real syntax — no mockups, no detours.\"\n      codeText={`export function Dashboard() { /* … */ }`}\n      screenshot=\"/your-app-screenshot.png\"\n      onCTAClick=\"/signup\"\n    />\n  );\n}\n```\n\n## Customise\n\n- **Content / CTA** — `heading`, `subheading`, `ctaLabel`, `onCTAClick` (URL or function), CTA colours.\n- **Code panel** — `codeText`, `codeLanguage` (tsx/python/go/rust/css/json…), `codePanelLabel`, `codePanelTheme` (Dracula, One Dark, GitHub…).\n- **Product** — `screenshot`, `productLabel`, `productMetaText`.\n- **Transformation** — `transformationSpeed`, `particleDensity`, `particleSize`, `arcCurvature`, `trailLength`, `pointerInfluence`.\n- **Theme / Background** — `colorTheme` presets (Midnight/Daylight/Aurora/Citrus/Custom), `transparentBackground`, `bgColor`.\n\n## Best for\n\n- Developer tools, SDKs and API products.\n- AI / code-generation landing pages literally pitching \"code to product.\"\n- Premium SaaS launch sites with a shipping-speed hero statement.\n- Build / deploy / preview platforms showing their core loop.\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":["developer-tools","saas","code","particles","webgl","transformation","dashboard","interactive","syntax","ai","code-to-product-transformation","crazygl","hero","hero-section","react","animation","ui","landing-page","frontend","component","canvas","three"]}