{"_id":"@crazygl/hero-text-reveal","name":"@crazygl/hero-text-reveal","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-text-reveal","version":"0.1.1","description":"Text Reveal — Heading wiped in from a single direction via a hard clip-path mask, with a small per-letter delay — the foundational reveal everyone needs. 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/text-reveal","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-text-reveal.git"},"publishConfig":{"access":"public"},"keywords":["reveal","mask","typography","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-text-reveal/issues"},"gitHead":"881bb8bc12720edb9be3ddc5b695aed568359e52","_id":"@crazygl/hero-text-reveal@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-QqluBz6P9LK5E/6L+eEmkzfYwOG5j9iBkmlMN/bso515pAUuFdYZe1jhzOK82Ho3HK2oZh8vKdpZyoAb3TnehQ==","shasum":"4d9290f97fcba62fab32461729291a8911a1090c","tarball":"https://registry.npmjs.org/@crazygl/hero-text-reveal/-/hero-text-reveal-0.1.1.tgz","fileCount":9,"unpackedSize":31901,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDjPcZCdJTkL2uXzulnqnZgMVHX0TSnU5n3WkYed1NvtgIgeERLoXsc/ogE9slmTTIZ21mq+nx9kXicWnZpKTK8hNA="}]},"_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-text-reveal_0.1.1_1782922708841_0.49731390591141045"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:18:28.630Z","0.1.1":"2026-07-01T16:18:28.981Z","modified":"2026-07-01T16:18:29.276Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Text Reveal — Heading wiped in from a single direction via a hard clip-path mask, with a small per-letter delay — the foundational reveal everyone needs. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/text-reveal","keywords":["reveal","mask","typography","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-text-reveal.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-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-text-reveal/banner-full.png\" alt=\"Text Reveal\" width=\"640\">\n</p>\n\n# @crazygl/hero-text-reveal\n\nHeading wiped in from a single direction via a hard clip-path mask, with a small per-letter delay — the foundational reveal everyone needs.\n\n## Demo\n[Text Reveal](https://crazygl.com/hero/text-reveal)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-text-reveal\n```\n\n## Usage\n\n```tsx\nimport TextReveal from '@crazygl/hero-text-reveal';\n\nexport default function Hero() {\n\treturn (\n\t\t<TextReveal\n\t\t\theading=\"Reveal what matters.\"\n\t\t\tdirection=\"bottom\"\n\t\t\ttrigger=\"load\"\n\t\t\tduration={900}\n\t\t/>\n\t);\n}\n```\n\n## Customise\n\n- **Reveal** — `trigger` (load / reveal / click), `direction` (bottom / top / left / right), `duration`, `perWordStagger`, `loopAfter` (load only).\n- **Typography** — `textColor`, `subColor`, `fontSize`, `headingFontFamily`, `headingFontWeight`.\n- **Content** — `heading`, `subheading`.\n- **Backdrop** — `transparentBackground`, `bgColor`.\n\n## Best for\n\n- Landing-page headlines and section intros\n- Editorial and agency sites\n- Product launches needing a clean, reliable entrance\n- Any hero where a tasteful masked reveal beats a heavy effect\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-9a422386dff8cd853d2b10f92ff8bdfd"}