{"_id":"@crazygl/hero-kinetic-text","name":"@crazygl/hero-kinetic-text","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-kinetic-text","version":"0.1.1","description":"Kinetic Text — Stacked lines where each word is timed independently — bounce in, rotate, scale, on a choreographed sequence. Pick whether the show plays on load, follows scroll, or loops forever. A customizable CrazyGL animated hero section — WebGL, React","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/kinetic-text","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-kinetic-text.git"},"publishConfig":{"access":"public"},"keywords":["kinetic","choreography","typography","kinetic-text","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-kinetic-text/issues"},"gitHead":"ec4bc0bebd9ee3dd8760c35284a2cd7f4c3c2017","_id":"@crazygl/hero-kinetic-text@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-qxhJ7RBmVdEBOZwvQb+i4tMGE3xKvPGe0AK46iVzMdE6FV73ZirT2idIoonU6FR/A9R7GPAq1K5GB0M1V0Veuw==","shasum":"00e78223d1c1a629858168367201111a57a45f57","tarball":"https://registry.npmjs.org/@crazygl/hero-kinetic-text/-/hero-kinetic-text-0.1.1.tgz","fileCount":9,"unpackedSize":28027,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBbmR3A0QEiKaIi98Cxa5vc9NwZxedi0UsoBA1PXPFR6AiEAytflHs21UlORe7SZ/Llpe/MZKXMnxedLqCZTHsl6mXg="}]},"_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-kinetic-text_0.1.1_1782922378568_0.5793296344175609"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:12:58.324Z","0.1.1":"2026-07-01T16:12:58.705Z","modified":"2026-07-01T16:12:58.945Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Kinetic Text — Stacked lines where each word is timed independently — bounce in, rotate, scale, on a choreographed sequence. Pick whether the show plays on load, follows scroll, or loops forever. A customizable CrazyGL animated hero section — WebGL, React","homepage":"https://crazygl.com/hero/kinetic-text","keywords":["kinetic","choreography","typography","kinetic-text","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-kinetic-text.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-kinetic-text/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-kinetic-text/banner-full.png\" alt=\"Kinetic Text\" width=\"640\">\n</p>\n\n# @crazygl/hero-kinetic-text\n\nStacked lines where each word is timed independently — bounce in, rotate, scale, on a choreographed sequence. Pick whether the show plays on load, follows scroll, or loops forever.\n\n## Demo\n[Kinetic Text](https://crazygl.com/hero/kinetic-text)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-kinetic-text\n```\n\n## Usage\n\n```tsx\nimport KineticText from '@crazygl/hero-kinetic-text';\n\nexport default function Hero() {\n  return (\n    <KineticText\n      lines={`MOVE\\nTHINGS\\nFORWARD`}\n      trigger=\"reveal\"\n      accentColor=\"#ff5c8a\"\n    />\n  );\n}\n```\n\n## Customise\n\n- **Content** — `lines` (one line per row; the second line takes the accent colour).\n- **Trigger** — `trigger` (`loop`, `load`, or `reveal` scroll-driven), `loopAfter` hold.\n- **Timing** — `perWordMs`, `stagger`.\n- **Scroll window** — `scrollStart` / `scrollEnd` (% progress mapping the reveal).\n- **Typography** — `textColor`, `accentColor`, `fontSize`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop** — `transparentBackground`, `bgColor`.\n\n## Best for\n\n- Brand and campaign landing pages\n- Product launches and announcement heroes\n- Agency and portfolio intros\n- Scroll-told stories where the headline animates 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-606c65dd0bc465ff27c42aa8f1ffa8d8"}