{"_id":"@crazygl/hero-reveal-text-scroll","name":"@crazygl/hero-reveal-text-scroll","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-reveal-text-scroll","version":"0.1.1","description":"Reveal Text Scroll — A heading revealed by a directional wipe — one of eight angles — with an optional layered effect: a blur-in, a colour morph from start to end, or a chromatic-aberration split that resolves as the… A customizable CrazyGL animated hero ","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/reveal-text-scroll","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-reveal-text-scroll.git"},"publishConfig":{"access":"public"},"keywords":["scroll-reveal","typography","wipe","chromatic-aberration","blur","color-morph","reveal-text-scroll","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-reveal-text-scroll/issues"},"gitHead":"3734e6004259be17145b4a85413f4b44eb9293f2","_id":"@crazygl/hero-reveal-text-scroll@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-yxajYIhXvxA//8hQM2MobIhSFDuO3RQQ7rfiCpykGdoOZeUmCmBkjtkxa2XG1hlMxdUvY7hpbdNGMVEqxuiQkQ==","shasum":"d477c48ded84845622c8dd3ed92711cc3a29b4a8","tarball":"https://registry.npmjs.org/@crazygl/hero-reveal-text-scroll/-/hero-reveal-text-scroll-0.1.1.tgz","fileCount":9,"unpackedSize":49084,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICNBl2P1MSxC1NdWSF3tlmMf7phoJK48Os71Od9ypN2TAiBdQLOLeKbTxFCZPJ/diKZQpbit+lDikQQ2xFI1xpnLfA=="}]},"_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-reveal-text-scroll_0.1.1_1782922496359_0.06336530260752027"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:14:56.224Z","0.1.1":"2026-07-01T16:14:56.536Z","modified":"2026-07-01T16:14:56.736Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Reveal Text Scroll — A heading revealed by a directional wipe — one of eight angles — with an optional layered effect: a blur-in, a colour morph from start to end, or a chromatic-aberration split that resolves as the… A customizable CrazyGL animated hero ","homepage":"https://crazygl.com/hero/reveal-text-scroll","keywords":["scroll-reveal","typography","wipe","chromatic-aberration","blur","color-morph","reveal-text-scroll","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-reveal-text-scroll.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-reveal-text-scroll/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-reveal-text-scroll/banner-full.png\" alt=\"Reveal Text Scroll\" width=\"640\">\n</p>\n\n# @crazygl/hero-reveal-text-scroll\n\nA heading revealed by a directional wipe — one of eight angles — with an optional layered effect: a blur-in, a colour morph from start to end, or a chromatic-aberration split that resolves as the reveal completes.\n\n## Demo\n[Reveal Text Scroll](https://crazygl.com/hero/reveal-text-scroll)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-reveal-text-scroll\n```\n\n## Usage\n\n```tsx\nimport RevealTextScroll from '@crazygl/hero-reveal-text-scroll';\n\nexport default function Hero() {\n  return (\n    <RevealTextScroll\n      heading=\"Reveal text on scroll.\"\n      direction=\"Bottom → Top\"\n      effect=\"Blur\"\n      edgePercent={18}\n    />\n  );\n}\n```\n\n## Customise\n\n- **Content** — `heading`, `subheading`, `ctaLabel`, `onCTAClick`.\n- **Reveal** — `direction` (8 angles), `edgePercent` (soft-band width), `scrollStart` / `scrollEnd` (scroll window), `autoplaySeconds` (auto mode).\n- **Effect** — `effect` (None / Blur / Color Morph / Chromatic Aberration) plus `blurPx`, `morphFromColor` / `morphToColor`, `caMaxPx`.\n- **Typography** — `textColor`, `textAlign`, `fontSize`, `lineHeight`, `letterSpacing`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop** — `transparentBackground`, `bgColor`, `vignetteStrength`.\n\n## Best for\n\n- Long-form landing-page intros, manifestos, and brand stories\n- Film / season-launch heroes and premium SaaS reveals\n- Editorial headers where the entrance itself is part of the voice\n- Scroll-told pages where the headline resolves as you arrive\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-1d0d88c989f30aeaaca223f97eb93d48"}