{"_id":"@crazygl/hero-path-text-reveal","name":"@crazygl/hero-path-text-reveal","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-path-text-reveal","version":"0.1.1","description":"Path Text Reveal — Multi-line heading where each line wipes in via a CSS clip-path from top, bottom, left, right, or centre — with a configurable stagger between lines. 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/path-text-reveal","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-path-text-reveal.git"},"publishConfig":{"access":"public"},"keywords":["clip-path","reveal","typography","stagger","headline","intro","path-text-reveal","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"bugs":{"url":"https://github.com/crazygl-com/hero-path-text-reveal/issues"},"gitHead":"7dbf9c1cfe0c7807b731a38e334fca332b2c0b2f","_id":"@crazygl/hero-path-text-reveal@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-b5195n14ifzcz/CnAlbwTwT1bLsL8tfr9r5nUwEmMpX5lrofi721MQox7N+Tn/ePCWb8LLWm+B9tb7P611DcIQ==","shasum":"6190cd7d4c82754c7378c3be98e328697757b7f3","tarball":"https://registry.npmjs.org/@crazygl/hero-path-text-reveal/-/hero-path-text-reveal-0.1.1.tgz","fileCount":9,"unpackedSize":33208,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBrdnjh+vKZoj2yA+MawW9loTyMnvlWyziGZz1KNpk7jAiEA6qhwHj2PleuIa2tMoCEhKD8hEyThJTpTdeH3buh38DA="}]},"_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-path-text-reveal_0.1.1_1782922464235_0.8637930387213135"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:14:24.097Z","0.1.1":"2026-07-01T16:14:24.362Z","modified":"2026-07-01T16:14:24.582Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Path Text Reveal — Multi-line heading where each line wipes in via a CSS clip-path from top, bottom, left, right, or centre — with a configurable stagger between lines. A customizable CrazyGL animated hero section — WebGL, React, drop-in.","homepage":"https://crazygl.com/hero/path-text-reveal","keywords":["clip-path","reveal","typography","stagger","headline","intro","path-text-reveal","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-path-text-reveal.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-path-text-reveal/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-path-text-reveal/banner-full.png\" alt=\"Path Text Reveal\" width=\"640\">\n</p>\n\n# @crazygl/hero-path-text-reveal\n\nMulti-line heading where each line wipes in via a CSS clip-path from top, bottom, left, right, or centre — with a configurable stagger between lines.\n\n## Demo\n[Path Text Reveal](https://crazygl.com/hero/path-text-reveal)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-path-text-reveal\n```\n\n## Usage\n\n```tsx\nimport PathTextReveal from '@crazygl/hero-path-text-reveal';\n\nexport default function Hero() {\n  return (\n    <PathTextReveal\n      text={`Transform your content\ninto premium narrative\nwith a single line.`}\n      direction=\"bottom\"\n      staggerDelay={0.15}\n    />\n  );\n}\n```\n\n## Customise\n\n- **Content** — `text` (one line per row).\n- **Reveal** — `trigger` (load / loop), `direction` (top / bottom / left / right / center), `duration`, `staggerDelay`, `loopInterval`.\n- **Typography** — `textColor`, `textAlign`, `fontSize`, `lineHeight`, `letterSpacing`, `headingFontFamily`, `headingFontWeight`.\n- **Backdrop** — `transparentBackground`, `bgColor`.\n\n## Best for\n\n- Magazine-style intro cards and brand mission statements.\n- Agency homepage one-liners.\n- Conference and film teaser openers where the wipe carries the tone.\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-6c2922f88a4334f147f78efde30325b0"}