{"_id":"@crazygl/hero-masked-text-carousel","name":"@crazygl/hero-masked-text-carousel","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-masked-text-carousel","version":"0.1.1","description":"Masked Text Carousel — A big heading sits behind a product image; where the image overlaps the words the text shows only its outline (or inverts, or ghosts) while the rest stays solid — the product literally masks the… A customizable CrazyGL animated hero","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"},"keywords":["carousel","text","mask","outline","product","typography","slider","swipe","masked-text-carousel","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas","three"],"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/masked-text-carousel","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-masked-text-carousel.git"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/crazygl-com/hero-masked-text-carousel/issues"},"gitHead":"2d27cd5b4276fda6f1e69fa2a1e6775b935bc263","_id":"@crazygl/hero-masked-text-carousel@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-FqHsvMCV3IfvE+3+CskJNbngjvRWCdA16cjtQSrbYDTY1Pyi6KUPKhWLcv7ixK7TQCL+lNO+LhwbmloSEnM6SQ==","shasum":"d6326eff9521115f13418330e25181a5718d9805","tarball":"https://registry.npmjs.org/@crazygl/hero-masked-text-carousel/-/hero-masked-text-carousel-0.1.1.tgz","fileCount":9,"unpackedSize":52831,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDaMZCWhf+LvZITh5xUumkTm04FyZY2yg5gsDfvubpdfgIgIyA6FnmxQoJ504tRvirAG2ZWe7c9kIQQ7Xc4UCH4b7w="}]},"_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-masked-text-carousel_0.1.1_1782922422946_0.359637418542855"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:13:42.726Z","0.1.1":"2026-07-01T16:13:43.080Z","modified":"2026-07-01T16:13:43.381Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Masked Text Carousel — A big heading sits behind a product image; where the image overlaps the words the text shows only its outline (or inverts, or ghosts) while the rest stays solid — the product literally masks the… A customizable CrazyGL animated hero","homepage":"https://crazygl.com/hero/masked-text-carousel","keywords":["carousel","text","mask","outline","product","typography","slider","swipe","masked-text-carousel","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-masked-text-carousel.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-masked-text-carousel/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-masked-text-carousel/banner-full.png\" alt=\"Masked Text Carousel\" width=\"640\">\n</p>\n\n# @crazygl/hero-masked-text-carousel\n\nA big heading sits behind a product image; where the image overlaps the words the text shows only its outline (or inverts, or ghosts) while the rest stays solid — the product literally masks the type. Swipeable, with a floating, pointer-reactive product and smooth slide transitions.\n\n## Demo\n[Masked Text Carousel](https://crazygl.com/hero/masked-text-carousel)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-masked-text-carousel\n```\n\n## Usage\n\n```tsx\nimport MaskedTextCarousel from '@crazygl/hero-masked-text-carousel';\n\nexport default function Hero() {\n  return (\n    <MaskedTextCarousel\n      slideCount={2}\n      slide1Image=\"/sneaker-1.png\"\n      slide1Heading=\"VELOCITY\"\n      slide1Caption=\"01 — Aero\"\n      slide2Image=\"/sneaker-2.png\"\n      slide2Heading=\"MOMENTUM\"\n      maskEffect=\"outline\"\n    />\n  );\n}\n```\n\n## Customise\n\n- **Slides** — `slideCount` (1–5) and per-slide `slideNImage` (transparent PNG), `slideNHeading`, `slideNCaption`.\n- **Mask effect** — `maskEffect` (outline / invert / ghost), `strokeColor`, `strokeWidth`.\n- **Motion** — `transition` (fade/slide/zoom), `duration`, `easing`, `imageFloat`, `pointerParallax`, `autoplay`, `interval`.\n- **Style** — `bgTop`/`bgBottom`, `textColor`, `accentColor`, `headingFont`, `headingWeight`, `showArrows`, `showDots`, `showCaption`.\n\n## Best for\n\n- Sneaker / product launches and e-commerce hero sliders.\n- Fashion and lifestyle brands with bold one-word headlines.\n- Portfolio / lookbook carousels where the product is the focus.\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-b533c5c4bedca7b70e8edce4e3e6f143"}