{"_id":"@crazygl/hero-textscrambler","name":"@crazygl/hero-textscrambler","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-textscrambler","version":"0.1.1","description":"Text Scrambler — Heading that scrambles into glyph soup and resolves left-to-right into the target phrase — a hacker-decode reveal that rotates through several phrases. 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/textscrambler","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-textscrambler.git"},"publishConfig":{"access":"public"},"keywords":["scramble","decode","typography","textscrambler","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-textscrambler/issues"},"gitHead":"61bd9d23913d574c665266d8b57a46d78ad01b98","_id":"@crazygl/hero-textscrambler@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-oJzlviYDtKK0t1EBLMNOwZMLk4K5TThuwg2NcJDxShJQLsAg3qPdi3xBAgeqBBCdxS7XP7ZNM5ubX0m1JzHU9w==","shasum":"a5bbc986b12150fda7e049c512aa5b54350391d1","tarball":"https://registry.npmjs.org/@crazygl/hero-textscrambler/-/hero-textscrambler-0.1.1.tgz","fileCount":9,"unpackedSize":28645,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFMjiky0T1XHbW8aLEamCiChY+gd6xw2rGSlr0fJSbPmAiEA8rrt04yQmt0/JDhH42X+a8Ra3+K2AnR1MRooyc6/VW4="}]},"_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-textscrambler_0.1.1_1782922726030_0.7756754374885908"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:18:45.833Z","0.1.1":"2026-07-01T16:18:46.170Z","modified":"2026-07-01T16:18:46.420Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Text Scrambler — Heading that scrambles into glyph soup and resolves left-to-right into the target phrase — a hacker-decode reveal that rotates through several phrases. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/textscrambler","keywords":["scramble","decode","typography","textscrambler","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-textscrambler.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-textscrambler/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-textscrambler/banner-full.png\" alt=\"Text Scrambler\" width=\"640\">\n</p>\n\n# @crazygl/hero-textscrambler\n\nHeading that scrambles into glyph soup and resolves left-to-right into the target phrase — a hacker-decode reveal that rotates through several phrases.\n\n## Demo\n[Text Scrambler](https://crazygl.com/hero/textscrambler)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-textscrambler\n```\n\n## Usage\n\n```tsx\nimport TextScrambler from '@crazygl/hero-textscrambler';\n\n<TextScrambler\n  phrases={`DECODE THE FUTURE\\nBUILD WHAT MATTERS`}\n  revealSpeed={22}\n  holdDuration={1800}\n/>\n```\n\n## Customise\n\n- **Content:** `phrases` (one per line, cycled in order), `alphabet` (the glyphs used for scrambling).\n- **Timing:** `holdDuration` (ms the resolved phrase stays), `revealSpeed` (chars/second the decode advances).\n- **Typography:** `textColor` (locked chars), `scrambleColor` (still-scrambling chars), `fontSize`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop:** `transparentBackground`, `bgColor`.\n\n## Best for\n\n- Hero headlines that want a terminal / cyberpunk decode feel.\n- Rotating value props or taglines that cycle through several lines.\n- Product launches and dev-tool sites leaning on a monospace, hacker aesthetic.\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-adcdc81fb46156c7520107ad491cec94"}