{"_id":"@crazygl/hero-iridescent-gradient-typography","name":"@crazygl/hero-iridescent-gradient-typography","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-iridescent-gradient-typography","version":"0.1.1","description":"Iridescent Gradient Typography — Your headline cast in oil-slick iridescence. Real thin-film interference shifts the surface through cyan → green → gold → pink → violet → blue as you move the pointer, just like a soap… 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","three":">=0.158.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/iridescent-gradient-typography","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-iridescent-gradient-typography.git"},"publishConfig":{"access":"public"},"keywords":["three","3d","text","typography","iridescence","oil-slick","pearlescent","soap-bubble","headline","premium","iridescent-gradient-typography","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas"],"bugs":{"url":"https://github.com/crazygl-com/hero-iridescent-gradient-typography/issues"},"gitHead":"05ee88e07c8cadbdb01a4b4b09cfb144e0e7f4d0","_id":"@crazygl/hero-iridescent-gradient-typography@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-HeGpAKz67I3fmE29hmEmuu1g589UpaOmXzeQ5s4nWGHlAZVUprQxN8Y9PkJmH9177N27EScAclz4ymOyJ1vK9Q==","shasum":"b1fca99fb4128838d1e0c0d67089481ce854f18f","tarball":"https://registry.npmjs.org/@crazygl/hero-iridescent-gradient-typography/-/hero-iridescent-gradient-typography-0.1.1.tgz","fileCount":11,"unpackedSize":87070,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDH7VF9MfWwGd7XYp/yNRVZKtSDKa8SVisX1n4pBrMvfAiEAyZsASZNJXUQY66D+Tv0iLP4bH61nA3EMU3SYmxtX4BA="}]},"_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-iridescent-gradient-typography_0.1.1_1782922369065_0.7348589888493822"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:12:48.916Z","0.1.1":"2026-07-01T16:12:49.262Z","modified":"2026-07-01T16:12:49.515Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Iridescent Gradient Typography — Your headline cast in oil-slick iridescence. Real thin-film interference shifts the surface through cyan → green → gold → pink → violet → blue as you move the pointer, just like a soap… A customizable CrazyGL animated hero","homepage":"https://crazygl.com/hero/iridescent-gradient-typography","keywords":["three","3d","text","typography","iridescence","oil-slick","pearlescent","soap-bubble","headline","premium","iridescent-gradient-typography","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas"],"repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-iridescent-gradient-typography.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-iridescent-gradient-typography/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-iridescent-gradient-typography/banner-full.png\" alt=\"Iridescent Gradient Typography\" width=\"640\">\n</p>\n\n# @crazygl/hero-iridescent-gradient-typography\n\nYour headline cast in oil-slick iridescence. Real thin-film interference shifts the surface through cyan → green → gold → pink → violet → blue as you move the pointer, just like a soap bubble or a petrol puddle catching streetlight. Three.js TextGeometry + a MeshPhysicalMaterial iridescence layer, lit by a procedural HDR studio with concentrated softboxes.\n\n## Demo\n[Iridescent Gradient Typography](https://crazygl.com/hero/iridescent-gradient-typography)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-iridescent-gradient-typography\n```\n\n## Usage\n\n```tsx\nimport IridescentGradientTypography from '@crazygl/hero-iridescent-gradient-typography';\n\nexport default function Page() {\n  return (\n    <IridescentGradientTypography\n      heading={\"OIL\\nSLICK\"}\n      subheading=\"Move your cursor — the colours travel like a soap bubble in sunlight.\"\n      iridescenceIOR={1.7}\n      headingFontFamily=\"Audiowide\"\n    />\n  );\n}\n```\n\n## Customise\n\n- **Content** — `heading` (newlines split lines), `subheading`, `ctaLabel`/`onCTAClick`/`ctaTextColor`/`ctaBgColor`.\n- **Geometry** — `extrudeDepth`, `bevelSize`, `letterSpacing`.\n- **Iridescence** — `iridescenceIOR`, `iridescenceMin`/`Max` (nm film thickness), `baseColor`, `metalness`, `roughness`.\n- **Motion** — `pointerParallax`, `idleSpinSpeed`.\n- **Background** — `bgTop`, `bgBottom`, `vignetteStrength`, `starfieldDensity`.\n- **Typography** — `headingFontFamily` (Google fonts fetched as TTF), `headingFontWeight`.\n\n## Best for\n\n- Premium product launches and design-tool landing pages.\n- Beauty, fragrance, and fashion drops chasing a pearlescent look.\n- Music releases and creative studio / agency signature headlines.\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-9bbc775b994f39d830116ae6b1448e2f"}