{"_id":"@crazygl/hero-text-rotation","name":"@crazygl/hero-text-rotation","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-text-rotation","version":"0.1.1","description":"Text Rotation — A static prefix with a vertical slot-machine rotator behind it — each word slides up, settles, and the next one rises into place. 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/text-rotation","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-text-rotation.git"},"publishConfig":{"access":"public"},"keywords":["rotator","marquee","typography","text-rotation","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-text-rotation/issues"},"gitHead":"5459ca9112451e6261b580746ae39cdbf7be0d2a","_id":"@crazygl/hero-text-rotation@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-oJXStWiNHcxNu8h6Ivv8n0pG62VE3SmeYNSJqwFjCgy82/pSg1N3mqOEKPgHEsEs9kl0EeM1WnFH4qRr3hz4bw==","shasum":"d25e045bfbff2bb3bbccd0ddaecc59abcd8f2eac","tarball":"https://registry.npmjs.org/@crazygl/hero-text-rotation/-/hero-text-rotation-0.1.1.tgz","fileCount":9,"unpackedSize":30977,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCeZX9QoghHib7WkGRA9OzTRu1ywQ18Vhn1IwD+1uBPLAIhANPlM+Zzh+m4u14Ow4WAnvoCiPh2phY8n/BocMGDhxgy"}]},"_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-text-rotation_0.1.1_1782922714272_0.09720402149758911"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:18:34.115Z","0.1.1":"2026-07-01T16:18:34.427Z","modified":"2026-07-01T16:18:34.644Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Text Rotation — A static prefix with a vertical slot-machine rotator behind it — each word slides up, settles, and the next one rises into place. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/text-rotation","keywords":["rotator","marquee","typography","text-rotation","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-text-rotation.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-text-rotation/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-text-rotation/banner-full.png\" alt=\"Text Rotation\" width=\"640\">\n</p>\n\n# @crazygl/hero-text-rotation\n\nA static prefix with a vertical slot-machine rotator behind it — each word slides up, settles, and the next one rises into place.\n\n## Demo\n[Text Rotation](https://crazygl.com/hero/text-rotation)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-text-rotation\n```\n\n## Usage\n\n```tsx\nimport TextRotation from '@crazygl/hero-text-rotation';\n\nexport default function Hero() {\n  return (\n    <TextRotation\n      prefix=\"Built for\"\n      rotators={\"designers.\\nfounders.\\nstorytellers.\\nbuilders.\"}\n      rotatorColor=\"#5b8def\"\n    />\n  );\n}\n```\n\n## Customise\n\n- **Content** — `prefix`, `rotators` (one word per line), `suffix`.\n- **Timing** — `holdDuration` (ms a word stays), `transitionDuration` (ms of the flip).\n- **Typography** — `textColor`, `rotatorColor`, `fontSize`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop** — `transparentBackground`, `bgColor`.\n\n## Best for\n\n- SaaS / product landing headlines with multiple audiences or value props.\n- Agency and portfolio intros.\n- Any \"Built for X / Y / Z\" rotating tagline.\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-a7ea3ee73ab09670e887484ab60f69eb"}