{"_id":"@crazygl/hero-lens-flare","name":"@crazygl/hero-lens-flare","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-lens-flare","version":"0.1.1","description":"Lens Flare Machine — A cinematic light source moves across the frame, throwing anamorphic streaks, hex aperture ghosts, glowing rings, and chromatic glares. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","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/lens-flare","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-lens-flare.git"},"publishConfig":{"access":"public"},"keywords":["lens-flare","bloom","cinematic","abstract","premium","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-lens-flare/issues"},"gitHead":"bdb94c0857ac4607848c6196f952c50555030c13","_id":"@crazygl/hero-lens-flare@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-mmAt3S2r93NTeg2L/dzrpIHWN4I4uUeoIJJFHQ8kEawIcxPuH7wo6iybqkgR0xciM8XEiPxGf4CS2RenmsGuGA==","shasum":"98b0782a221e0574095b8fdcd234353ef5224a03","tarball":"https://registry.npmjs.org/@crazygl/hero-lens-flare/-/hero-lens-flare-0.1.1.tgz","fileCount":9,"unpackedSize":42057,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCqBg7IbA6HRdZ60a8o0y8MZbt55yuQwXI0P95gVMyu9QIhAMS1uVISe4+QDdRZ0tT5E8buRp89EKvgo8Lqme4VQTU5"}]},"_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-lens-flare_0.1.1_1782922385384_0.7845548916245078"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:13:05.208Z","0.1.1":"2026-07-01T16:13:05.528Z","modified":"2026-07-01T16:13:05.788Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Lens Flare Machine — A cinematic light source moves across the frame, throwing anamorphic streaks, hex aperture ghosts, glowing rings, and chromatic glares. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/lens-flare","keywords":["lens-flare","bloom","cinematic","abstract","premium","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-lens-flare.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-lens-flare/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-lens-flare/banner-full.png\" alt=\"Lens Flare Machine\" width=\"640\">\n</p>\n\n# @crazygl/hero-lens-flare\n\nA cinematic light source moves across the frame, throwing anamorphic streaks, hex aperture ghosts, glowing rings, and chromatic glares.\n\n## Demo\n[Lens Flare Machine](https://crazygl.com/hero/lens-flare)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-lens-flare\n```\n\n## Usage\n\n```tsx\nimport LensFlare from '@crazygl/hero-lens-flare';\n\nexport default function Page() {\n  return (\n    <LensFlare\n      heading=\"Anamorphic.\"\n      intensity={1}\n      streakLength={1}\n      ghostCount={6}\n    />\n  );\n}\n```\n\n## Customise\n\n- **Content** — `contentType`, `heading`, `subheading`, or custom nodes.\n- **Background** — `transparent`, `bgTop` / `bgBottom`.\n- **Flare** — `flareColor` (core), `streakColor`, `ghostColorA` / `ghostColorB`, `intensity`, `streakLength`, `ghostCount`, `spinSpeed` (hex ghost rotation), `trackSpeed` (idle light path speed).\n- **Typography** — `headingFontFamily`.\n\n## Best for\n\n- Film studios, photography brands, and music labels.\n- AI and creative-tooling landing pages wanting a cinematic, high-energy feel.\n- Premium hardware / product launches with a single dramatic focal point.\n- Dark-themed event and entertainment sites where glow carries the mood.\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-71e4afa177566a89b2871260d3cd0d43"}