{"_id":"@crazygl/hero-cursor-reveal-text","_rev":"2-a7340fa17f99b6ab00a218ffcb1cda35","name":"@crazygl/hero-cursor-reveal-text","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@crazygl/hero-cursor-reveal-text","version":"0.1.0","author":{"name":"ybouane"},"license":"Apache-2.0","_id":"@crazygl/hero-cursor-reveal-text@0.1.0","maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"homepage":"https://crazygl.com/hero/cursor-reveal-text","bugs":{"url":"https://github.com/crazygl-com/hero-cursor-reveal-text/issues"},"dist":{"shasum":"e63034cc6edbbddc7ca0a6703ec6d9c3ab101033","tarball":"https://registry.npmjs.org/@crazygl/hero-cursor-reveal-text/-/hero-cursor-reveal-text-0.1.0.tgz","fileCount":9,"integrity":"sha512-3HeAbD9z6WuittZ/8G0QWHEc/v5NloWEzSFb5wAWIQ5Mj8cNAkWfwdNjt3pQmKsspLusmfBLHIHi94f6Llj5vw==","signatures":[{"sig":"MEYCIQC+4D+DD363XH72s7wpwjfT0lzjTwWSc/NOeOQIDxFiawIhAOCL/7j10QwOhMOxWyH7iwE1gjun25kWKBXNQRpXaD1L","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31336},"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":"2923b7f6fd268447cf4e5b5a07f1435ea372b0c4","_npmUser":{"name":"ybouane","email":"ybouane@ybouane.com"},"repository":{"url":"git+https://github.com/crazygl-com/hero-cursor-reveal-text.git","type":"git"},"_npmVersion":"11.12.0","description":"Cursor Reveal Text — two stacked paragraphs where a cursor-following spotlight reveals the second one through the first.","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-cursor-reveal-text_0.1.0_1782870828994_0.0011977420759679003","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@crazygl/hero-cursor-reveal-text","version":"0.1.1","description":"Cursor Reveal Text — Two stacked paragraphs — a primary line shown in the surface colour, and a secret reveal line shown only inside a cursor-following spotlight that grows on hover. 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/cursor-reveal-text","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-cursor-reveal-text.git"},"publishConfig":{"access":"public"},"keywords":["cursor","reveal","spotlight","typography","interactive","cursor-reveal-text","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-cursor-reveal-text/issues"},"gitHead":"4984e136828a241a19e62ba1fcb7b9a4f28d0da3","_id":"@crazygl/hero-cursor-reveal-text@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-ouOVAOsNjNtqRnsOOjpowbxo4XsrgAj0mzE5T7ih6HR7/6L/ulyE62zO0EX+9J4PICcccIaZr8CsMKJGs+tBuA==","shasum":"fa6124ce60dbe0c80ae3cefe4965e67538c6eec9","tarball":"https://registry.npmjs.org/@crazygl/hero-cursor-reveal-text/-/hero-cursor-reveal-text-0.1.1.tgz","fileCount":9,"unpackedSize":31830,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDR8KIctZDAg9J8+tC4GeF40qiuwPdfE1MnkTzAk//epgIgJXLfmphImZY138RnZbMg/5DtwvfcQkj2z3QJSAEoQEk="}]},"_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-cursor-reveal-text_0.1.1_1782922292023_0.4269165990904482"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T01:53:48.754Z","modified":"2026-07-01T16:11:32.294Z","0.1.0":"2026-07-01T01:53:49.143Z","0.1.1":"2026-07-01T16:11:32.176Z"},"bugs":{"url":"https://github.com/crazygl-com/hero-cursor-reveal-text/issues"},"author":{"name":"ybouane"},"license":"Apache-2.0","homepage":"https://crazygl.com/hero/cursor-reveal-text","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-cursor-reveal-text.git"},"description":"Cursor Reveal Text — Two stacked paragraphs — a primary line shown in the surface colour, and a secret reveal line shown only inside a cursor-following spotlight that grows on hover. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","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-cursor-reveal-text/banner-full.png\" alt=\"Cursor Reveal Text\" width=\"640\">\n</p>\n\n# @crazygl/hero-cursor-reveal-text\n\nTwo stacked paragraphs — a primary line shown in the surface colour, and a secret reveal line shown only inside a cursor-following spotlight that grows on hover.\n\n## Demo\n[Cursor Reveal Text](https://crazygl.com/hero/cursor-reveal-text)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-cursor-reveal-text\n```\n\n## Usage\n\n```tsx\nimport CursorRevealText from '@crazygl/hero-cursor-reveal-text';\n\nexport default function Page() {\n  return (\n    <CursorRevealText\n      primaryText=\"I'm a selectively skilled product designer...\"\n      revealText=\"Crafting elegant solutions through code...\"\n      hoverSize={400}\n    />\n  );\n}\n```\n\n## Customise\n\n- **Content** — `primaryText`, `revealText`.\n- **Spotlight** — `defaultSize` (resting diameter), `hoverSize` (diameter over text), `cursorFollowSpeed` (0.05 liquid → 1 snaps), `transitionDuration` (grow/shrink ease).\n- **Colours** — `bgColor`, `textColor`, `revealBgColor`, `revealTextColor`; pair contrasting hues for the strongest effect.\n- **Typography** — `fontSize`, `lineHeight`, `maxWidth`, `headingFontFamily`, `headingFontWeight`.\n\n## Best for\n\n- Portfolio bio and \"about\" sections with a hidden punchline\n- Agency / studio personality blocks and case-study intros\n- Interactive landing pages that reward cursor exploration\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":["cursor","reveal","spotlight","typography","interactive","cursor-reveal-text","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","frontend","component","canvas","three"]}