{"_id":"@crazygl/hero-scroll-text-fade","name":"@crazygl/hero-scroll-text-fade","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-scroll-text-fade","version":"0.1.1","description":"Scroll Text Fade — A long block of copy that fades word-by-word as the visitor scrolls — early words go dim, current words pop, future words sit faded. 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/scroll-text-fade","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-scroll-text-fade.git"},"publishConfig":{"access":"public"},"keywords":["scroll","fade","typography","scroll-text-fade","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-scroll-text-fade/issues"},"gitHead":"bc7f04a3e78e0622a7fc30d98a75b387e69f44f9","_id":"@crazygl/hero-scroll-text-fade@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-Px3txyQ5Adox8Wnunmnk6qwDKVNAIKMy46pel09EsQftrtTtAtU9heF19R4Kb8wzhOTZ18zDcMjJPboqnXxrxg==","shasum":"42b85741575119eadc01d818c24f16938e298e4f","tarball":"https://registry.npmjs.org/@crazygl/hero-scroll-text-fade/-/hero-scroll-text-fade-0.1.1.tgz","fileCount":9,"unpackedSize":26453,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDTvSEK0HggCABe7uN7+BQgdIHdxFDEfOmNsi2bLzGgpgIgNp8ZKhPdcTT2ZjIh0V+DaNPn5OaW8gEMKSTwJ6/U6aI="}]},"_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-scroll-text-fade_0.1.1_1782922514308_0.895949440334114"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:15:14.150Z","0.1.1":"2026-07-01T16:15:14.449Z","modified":"2026-07-01T16:15:14.913Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Scroll Text Fade — A long block of copy that fades word-by-word as the visitor scrolls — early words go dim, current words pop, future words sit faded. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/scroll-text-fade","keywords":["scroll","fade","typography","scroll-text-fade","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-scroll-text-fade.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-scroll-text-fade/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-scroll-text-fade/banner-full.png\" alt=\"Scroll Text Fade\" width=\"640\">\n</p>\n\n# @crazygl/hero-scroll-text-fade\n\nA long block of copy that fades word-by-word as the visitor scrolls — early words go dim, current words pop, future words sit faded.\n\n## Demo\n[Scroll Text Fade](https://crazygl.com/hero/scroll-text-fade)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-scroll-text-fade\n```\n\n## Usage\n\n```tsx\nimport ScrollTextFade from '@crazygl/hero-scroll-text-fade';\n\nexport default function Hero() {\n\treturn (\n\t\t<ScrollTextFade\n\t\t\tcopy=\"We design and build premium product experiences that move with intent.\"\n\t\t\twindowSize={18}\n\t\t\tbrightColor=\"#ffffff\"\n\t\t/>\n\t);\n}\n```\n\n## Customise\n\n- **Content** — `copy`, the paragraph that reveals as you scroll.\n- **Fade** — `dimColor` / `brightColor` (the colours interpolated per word), `windowSize` (width of the active reveal band as a % of the text), `softness` (edge falloff of the band).\n- **Scroll window** — `scrollStart` / `scrollEnd`, the scroll-progress range (0% = element entering viewport, 100% = leaving) over which the reveal plays out.\n- **Typography** — `fontSize`, `headingFontFamily`, `headingFontWeight`, `lineHeight`.\n- **Backdrop** — `transparentBackground`, `bgColor`.\n\n## Best for\n\n- Mission / manifesto statements and about-page intros.\n- SaaS and agency landing pages that want a slow, deliberate reveal.\n- Editorial or storytelling sections built around a single strong sentence.\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-5243a5e31193a8180d315429214bee05"}