{"_id":"@crazygl/hero-on-scroll-typography","name":"@crazygl/hero-on-scroll-typography","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-on-scroll-typography","version":"0.1.1","description":"On Scroll Typography — A headline whose transform is driven by scroll progress through the viewport — pick an animation flavour (scale / rotate / slide / blur / combo), tune the scroll window, and the headline does the… A customizable CrazyGL animated her","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/on-scroll-typography","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-on-scroll-typography.git"},"publishConfig":{"access":"public"},"keywords":["scroll","kinetic","typography","on-scroll-typography","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-on-scroll-typography/issues"},"gitHead":"8d52da2d02b72f478a7efb464368fdb2c41c29cd","_id":"@crazygl/hero-on-scroll-typography@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-YLG6+ZxPuFTsTzehgVfMHp3JnjX/GvhXqIKEImhDaxCSlIR3n3yoks81x2rsCs7prPfk7KBH7Zy3NnKcVon/6A==","shasum":"68f83684b160918c8a5272acb77f8bb5c74a7088","tarball":"https://registry.npmjs.org/@crazygl/hero-on-scroll-typography/-/hero-on-scroll-typography-0.1.1.tgz","fileCount":9,"unpackedSize":35833,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD/a8zoTmH+SjCYtVQ+8c9ih0eDM+W4Kn95denI5RoS4AIgZjXzriDGUBv+0vp97xW4wDUi3NO0yAwvJ3KfzUg00GE="}]},"_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-on-scroll-typography_0.1.1_1782922445945_0.3687749807370484"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:14:05.798Z","0.1.1":"2026-07-01T16:14:06.079Z","modified":"2026-07-01T16:14:06.298Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"On Scroll Typography — A headline whose transform is driven by scroll progress through the viewport — pick an animation flavour (scale / rotate / slide / blur / combo), tune the scroll window, and the headline does the… A customizable CrazyGL animated her","homepage":"https://crazygl.com/hero/on-scroll-typography","keywords":["scroll","kinetic","typography","on-scroll-typography","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-on-scroll-typography.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-on-scroll-typography/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-on-scroll-typography/banner-full.png\" alt=\"On Scroll Typography\" width=\"640\">\n</p>\n\n# @crazygl/hero-on-scroll-typography\n\nA headline whose transform is driven by scroll progress through the viewport — pick an animation flavour (scale / rotate / slide / blur / combo), tune the scroll window, and the headline does the rest.\n\n## Demo\n[On Scroll Typography](https://crazygl.com/hero/on-scroll-typography)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-on-scroll-typography\n```\n\n## Usage\n\n```tsx\nimport OnScrollTypography from '@crazygl/hero-on-scroll-typography';\n\nexport default function Hero() {\n\treturn (\n\t\t<OnScrollTypography\n\t\t\theading=\"kinetic\"\n\t\t\tanimation=\"combo\"\n\t\t\tscrollStart={15}\n\t\t\tscrollEnd={70}\n\t\t/>\n\t);\n}\n```\n\n## Customise\n\n- **Animation** — `animation` (scale / rotate / slide / blur / fade / combo), with `scaleAmount`, `rotateAmount`, `slideAmount`, `blurAmount`.\n- **Scroll window** — `scrollStart` / `scrollEnd` (percent of the hero's viewport pass over which the effect plays) and `autoplaySeconds` (ping-pong fallback when interactivity is off / reduced motion).\n- **Typography** — `textColor`, `subColor`, `fontSize`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop** — `bgColor` or `transparentBackground`.\n\n## Best for\n\n- Editorial and portfolio landing pages with a scroll-told story.\n- Brand statement sections where one word should command the screen.\n- Long-form marketing pages that want kinetic typography between blocks.\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-04c2375c1a90d0a560e6a561b24f2f8a"}