{"_id":"@crazygl/hero-rotatetextfx","name":"@crazygl/hero-rotatetextfx","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-rotatetextfx","version":"0.1.1","description":"Rotate Text FX — Each letter rotates independently with offset phase. Trigger the rotation as a one-shot entrance on load, or let it spin forever. 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/rotatetextfx","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-rotatetextfx.git"},"publishConfig":{"access":"public"},"keywords":["rotate","spin","typography","rotatetextfx","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-rotatetextfx/issues"},"gitHead":"9e3288cd46a5e61521cfac07761ce2e83a35743a","_id":"@crazygl/hero-rotatetextfx@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-zgNZgNss8iUeJgWn+bDF4j6FXB9gVYJTm4R+/BpKv23fwZPbINEq9+Ik4vZxugtTDDOX9jL1+xm3yHlhTjiB3A==","shasum":"fde539c4caa538b715a8a5fedaf25e28a4c109fb","tarball":"https://registry.npmjs.org/@crazygl/hero-rotatetextfx/-/hero-rotatetextfx-0.1.1.tgz","fileCount":9,"unpackedSize":27445,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD/G5IXFc22UWNiuIDuXZO/B9sh9TXsJKt1zL/ZKKmKwwIhAIuXRGIpxdIQUQwRj0VEa0Fh7MDjTO4toK5wOOSJvd4N"}]},"_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-rotatetextfx_0.1.1_1782922501954_0.8977676130915417"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:15:01.790Z","0.1.1":"2026-07-01T16:15:02.092Z","modified":"2026-07-01T16:15:02.326Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Rotate Text FX — Each letter rotates independently with offset phase. Trigger the rotation as a one-shot entrance on load, or let it spin forever. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/rotatetextfx","keywords":["rotate","spin","typography","rotatetextfx","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-rotatetextfx.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-rotatetextfx/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-rotatetextfx/banner-full.png\" alt=\"Rotate Text FX\" width=\"640\">\n</p>\n\n# @crazygl/hero-rotatetextfx\n\nEach letter rotates independently with offset phase. Trigger the rotation as a one-shot entrance on load, or let it spin forever.\n\n## Demo\n[Rotate Text FX](https://crazygl.com/hero/rotatetextfx)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-rotatetextfx\n```\n\n## Usage\n\n```tsx\nimport RotateTextFx from '@crazygl/hero-rotatetextfx';\n\nexport default function Hero() {\n  return (\n    <RotateTextFx\n      heading=\"ROTATION\"\n      trigger=\"loop\"\n      speed={0.5}\n      phaseOffset={0.4}\n    />\n  );\n}\n```\n\n## Customise\n\n- **Trigger** — `trigger`: `loop` (continuous spin) or `load` (one-shot entrance).\n- **Motion** — `speed` (loop rate), `phaseOffset` (per-letter lag), `revealDurationMs` (entrance length in load mode).\n- **Typography** — `textColor`, `fontSize`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop** — `transparentBackground`, `bgColor`.\n\n## Best for\n\n- Playful product / brand splash headlines.\n- Landing-page title reveals and \"coming soon\" teasers.\n- Portfolio and agency heroes that want a kinetic typographic moment.\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-bf768aaa6a354628367227673832bd1a"}