{"_id":"@crazygl/hero-proximitytextfx","name":"@crazygl/hero-proximitytextfx","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-proximitytextfx","version":"0.1.1","description":"Proximity Text FX — Letters near the cursor scale up and brighten; letters further away dim and shrink — an inverse-distance attention effect. 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/proximitytextfx","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-proximitytextfx.git"},"publishConfig":{"access":"public"},"keywords":["proximity","cursor","typography","proximitytextfx","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-proximitytextfx/issues"},"gitHead":"0c333b4b0c610bcbc88e39b1bf6dc3662a2b4bf4","_id":"@crazygl/hero-proximitytextfx@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-SglnT+fVnFh3Y9mhhOH2bzozXG7IKd58NF+nUD+uQThQzCkPEenl93jT9mIHPJfKqURTL4Je5V9q3IbyHwkeeg==","shasum":"5f65644d83fd4d163a1ccfdb10c68928369fa93d","tarball":"https://registry.npmjs.org/@crazygl/hero-proximitytextfx/-/hero-proximitytextfx-0.1.1.tgz","fileCount":9,"unpackedSize":28737,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDKgG1I5IXvfpxGr11W9urAuIFfwSzjPtopLsYw/YVNkgIgBblw44Xe/+R6WC6j6jZuXR1W5c2/oiCFDaghDZGyYvA="}]},"_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-proximitytextfx_0.1.1_1782922490531_0.9971694504367543"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:14:50.401Z","0.1.1":"2026-07-01T16:14:50.678Z","modified":"2026-07-01T16:14:50.867Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Proximity Text FX — Letters near the cursor scale up and brighten; letters further away dim and shrink — an inverse-distance attention effect. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/proximitytextfx","keywords":["proximity","cursor","typography","proximitytextfx","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-proximitytextfx.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-proximitytextfx/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-proximitytextfx/banner-full.png\" alt=\"Proximity Text FX\" width=\"640\">\n</p>\n\n# @crazygl/hero-proximitytextfx\n\nLetters near the cursor scale up and brighten; letters further away dim and shrink — an inverse-distance attention effect.\n\n## Demo\n[Proximity Text FX](https://crazygl.com/hero/proximitytextfx)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-proximitytextfx\n```\n\n## Usage\n\n```tsx\nimport ProximityTextFx from '@crazygl/hero-proximitytextfx';\n\nexport default function Hero() {\n\treturn (\n\t\t<ProximityTextFx\n\t\t\theading=\"follow the cursor\"\n\t\t\tradius={240}\n\t\t\tpeakScale={1.6}\n\t\t/>\n\t);\n}\n```\n\n## Customise\n\n- **Effect** — `radius` (influence falloff in px), `peakScale` (max letter scale at the cursor), `minBrightness` (opacity floor for far letters).\n- **Typography** — `textColor`, `fontSize`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop** — `bgColor` or `transparentBackground`.\n\n## Best for\n\n- Interactive landing pages and portfolio headers that reward cursor movement.\n- Playful product or agency splash sections.\n- Call-to-action headlines where you want the eye to follow the pointer.\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-e5baaefc653c8b003b19c1a54d65d2c7"}