{"_id":"@crazygl/hero-floating-metal-frame","name":"@crazygl/hero-floating-metal-frame","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-floating-metal-frame","version":"0.1.1","description":"Screenshot in a Floating Metal Frame — Your product screenshot held inside a brushed-metal frame, lit like a physical product photograph. The frame sits at an adjustable static angle, tilts with the pointer for… A customizable CrazyGL animated hero sectio","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.184.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/floating-metal-frame","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-floating-metal-frame.git"},"publishConfig":{"access":"public"},"keywords":["three","3d","screenshot","frame","metal","brushed","product","saas","premium","floating-metal-frame","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas"],"bugs":{"url":"https://github.com/crazygl-com/hero-floating-metal-frame/issues"},"gitHead":"2237e834d5ec54d464dc895372a82fb62b00e672","_id":"@crazygl/hero-floating-metal-frame@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-RZrLQGI46Y0k0ZwC/eEJHen8ofMwZI+WJUpVUM/T8iwCA2AIYLDcXeaD1k2W/u8r9Ei5ziljIF5xZUBjtbsGuw==","shasum":"ad33e34fc3ae514f5afe99b8a53e2e124426b857","tarball":"https://registry.npmjs.org/@crazygl/hero-floating-metal-frame/-/hero-floating-metal-frame-0.1.1.tgz","fileCount":11,"unpackedSize":78779,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHv3YhFhBAfl0dVYejRBsO49JOAK69DdAtlxJZTH8+oWAiEAup/WvJFpyJ7EuFMFESFKKydS9Rv4XLw3Pv/YR/umfWE="}]},"_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-floating-metal-frame_0.1.1_1782922322666_0.7277098137950375"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:12:02.525Z","0.1.1":"2026-07-01T16:12:02.810Z","modified":"2026-07-01T16:12:03.161Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Screenshot in a Floating Metal Frame — Your product screenshot held inside a brushed-metal frame, lit like a physical product photograph. The frame sits at an adjustable static angle, tilts with the pointer for… A customizable CrazyGL animated hero sectio","homepage":"https://crazygl.com/hero/floating-metal-frame","keywords":["three","3d","screenshot","frame","metal","brushed","product","saas","premium","floating-metal-frame","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-floating-metal-frame.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-floating-metal-frame/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-floating-metal-frame/banner-full.png\" alt=\"Screenshot in a Floating Metal Frame\" width=\"640\">\n</p>\n\n# @crazygl/hero-floating-metal-frame\n\nYour product screenshot held inside a brushed-metal frame, lit like a physical product photograph. The frame sits at an adjustable static angle, tilts with the pointer for parallax, and optionally rotates to catch studio highlights.\n\n## Demo\n[Screenshot in a Floating Metal Frame](https://crazygl.com/hero/floating-metal-frame)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-floating-metal-frame\n```\n\n## Usage\n\n```tsx\nimport FloatingMetalFrame from '@crazygl/hero-floating-metal-frame';\n\nexport default function Hero() {\n\treturn (\n\t\t<FloatingMetalFrame\n\t\t\theading=\"See it in action.\"\n\t\t\tscreenshot=\"https://crazygl.com/samples/screenshot-dashboard-dark-2.avif\"\n\t\t\tframeRoughness={0.28}\n\t\t\trotationSpeed={0.05}\n\t\t/>\n\t);\n}\n```\n\n## Customise\n\n- **Content** — `heading` + `subheading`, two columns, or a custom node, with `contentAlign`/padding.\n- **Screenshot** — `screenshot` (frame auto-matches its aspect), `screenScale`, `screenshotX/Y`, `screenBrightness`, `glassReflection`.\n- **Frame** — `frameColor`, `frameMetalness`, `frameRoughness` (chrome → brushed → matte), `frameThickness`, `frameCornerRadius`, `frameDepth`, `frameClearcoat`.\n- **Motion** — static `frameAngleY/X`, `rotationSpeed`, `pointerParallax`, `shadowSoftness/Strength`.\n- **Lighting** — `keyLight`, `fillLight`, `backLight`, `envIntensity` (studio reflection).\n- **Background** — `bgTop`/`bgBottom` gradient.\n\n## Best for\n\n- Premium SaaS launch and feature pages where a screenshot must feel like a crafted object.\n- Product and design-tool showcases.\n- Polished startup landing sites needing a studio-grade hero shot.\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-ccadae97d6a7f991e8db1b4987d09819"}