{"_id":"@crazygl/hero-mask-text-reveal","name":"@crazygl/hero-mask-text-reveal","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-mask-text-reveal","version":"0.1.1","description":"Mask Text Reveal — Text revealed as a moving circular mask sweeps across — the headline appears only where the image-shaped mask uncovers it. 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/mask-text-reveal","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-mask-text-reveal.git"},"publishConfig":{"access":"public"},"keywords":["mask","reveal","typography","mask-text-reveal","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-mask-text-reveal/issues"},"gitHead":"a18100dfb6b97c657803951ac96701c3817704cc","_id":"@crazygl/hero-mask-text-reveal@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-VkklC0RfJjWogu2aVnoifHI+lJoebRTrvTEA0BzCQNJnoPpg5cGn01xB1SahB8M7AMieE6KbprG+Uu4WIq/s5w==","shasum":"cc036ea87f8bebf7dee0add181665fdcb49bdcc8","tarball":"https://registry.npmjs.org/@crazygl/hero-mask-text-reveal/-/hero-mask-text-reveal-0.1.1.tgz","fileCount":9,"unpackedSize":27153,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID3m5y3YHvWn9Hfovq5SX4+1/9AxR6dZoIWq4tJASU6BAiBNUepm1DVVD3XbpVefgbFrnFBR6dNRNvRq5pU+5VfMyw=="}]},"_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-mask-text-reveal_0.1.1_1782922421213_0.8333091803999981"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:13:40.965Z","0.1.1":"2026-07-01T16:13:41.356Z","modified":"2026-07-01T16:13:41.544Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Mask Text Reveal — Text revealed as a moving circular mask sweeps across — the headline appears only where the image-shaped mask uncovers it. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/mask-text-reveal","keywords":["mask","reveal","typography","mask-text-reveal","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-mask-text-reveal.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-mask-text-reveal/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-mask-text-reveal/banner-full.png\" alt=\"Mask Text Reveal\" width=\"640\">\n</p>\n\n# @crazygl/hero-mask-text-reveal\n\nText revealed as a moving circular mask sweeps across — the headline appears only where the image-shaped mask uncovers it.\n\n## Demo\n[Mask Text Reveal](https://crazygl.com/hero/mask-text-reveal)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-mask-text-reveal\n```\n\n## Usage\n\n```tsx\nimport MaskTextReveal from '@crazygl/hero-mask-text-reveal';\n\nexport default function Hero() {\n  return (\n    <MaskTextReveal\n      heading=\"look closer\"\n      maskRadius={22}\n      softness={30}\n      sweepSec={4}\n    />\n  );\n}\n```\n\n## Customise\n\n- **Content** — `heading` text.\n- **Mask** — `maskRadius` (spotlight size %), `softness` (feathered edge %), `sweepSec` (loop duration).\n- **Typography** — `dimColor` (hidden text), `revealColor` (lit text), `fontSize`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop** — `transparentBackground`, `bgColor`.\n\n## Best for\n\n- Bold editorial / portfolio splash headlines.\n- Product teaser and \"coming soon\" heroes.\n- Agency landing pages that want a tactile, peek-through title.\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-087963052bc310c27786f6781ab767ec"}