{"_id":"@crazygl/hero-metrics-city","name":"@crazygl/hero-metrics-city","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-metrics-city","version":"0.1.1","description":"Floating Metrics City — Your KPIs become tall glowing 3D towers in a dark abstract city. The dashboard screenshot floats above the skyline like a control layer, with FogExp2 atmospheric perspective fading distant towers… A customizable CrazyGL animated he","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/metrics-city","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-metrics-city.git"},"publishConfig":{"access":"public"},"keywords":["three","3d","screenshot","dashboard","analytics","metrics","city","towers","instanced","fog","dark","architecture","finance","marketing","metrics-city","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","interactive","frontend","component","canvas"],"bugs":{"url":"https://github.com/crazygl-com/hero-metrics-city/issues"},"gitHead":"968df3f6030f38e052dd212774e6301f9dd0a7bc","_id":"@crazygl/hero-metrics-city@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-9/BaCaHYJzgv2BVPrCWWG15KZXoRMoJOy8y0BtqUKYOyjtqVVqMUkcQA+mvREVeCG7Rf/zbFcmdHzvkmOwozzw==","shasum":"a3c775b19ca67e8ac8f4cd3b3a560cf17f729c29","tarball":"https://registry.npmjs.org/@crazygl/hero-metrics-city/-/hero-metrics-city-0.1.1.tgz","fileCount":11,"unpackedSize":75079,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDAKWJctJTatjxbLRL6NQbFtfZ0tUbFGo8B4h9JevnY0AiEAphhACZECOdXkfdYzogrK6dV+7KAmd/YMwFHM3UtPam8="}]},"_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-metrics-city_0.1.1_1782922427191_0.11054628234223562"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:13:46.961Z","0.1.1":"2026-07-01T16:13:47.327Z","modified":"2026-07-01T16:13:47.628Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Floating Metrics City — Your KPIs become tall glowing 3D towers in a dark abstract city. The dashboard screenshot floats above the skyline like a control layer, with FogExp2 atmospheric perspective fading distant towers… A customizable CrazyGL animated he","homepage":"https://crazygl.com/hero/metrics-city","keywords":["three","3d","screenshot","dashboard","analytics","metrics","city","towers","instanced","fog","dark","architecture","finance","marketing","metrics-city","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-metrics-city.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-metrics-city/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-metrics-city/banner-full.png\" alt=\"Floating Metrics City\" width=\"640\">\n</p>\n\n# @crazygl/hero-metrics-city\n\nYour KPIs become tall glowing 3D towers in a dark abstract city. The dashboard screenshot floats above the skyline like a control layer, with FogExp2 atmospheric perspective fading distant towers into deep blue-black.\n\n## Demo\n[Floating Metrics City](https://crazygl.com/hero/metrics-city)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-metrics-city\n```\n\n## Usage\n\n```tsx\nimport MetricsCity from '@crazygl/hero-metrics-city';\n\nexport default function Hero() {\n  return (\n    <MetricsCity\n      screenshot=\"/product/dashboard.png\"\n      towerCount={220}\n      highColor=\"#FFB45A\"\n      lowColor=\"#3A4D7A\"\n    />\n  );\n}\n```\n\n## Customise\n\n- **Screenshot** — the floating `screenshot` plus `screenshotX/Y/Z`, `screenshotScale`, `screenshotTilt`, `screenEmissive`.\n- **City** — `towerCount`, `towerSpacing`, `towerWidth`, `heightVariation`, `centerBoost`, `animSpeed`, `animAmplitude`, `lowColor`→`highColor` gradient, `topGlow` (cap brightness).\n- **Atmosphere** — `fogDensity`, `fogColor`, `groundColor`, `bgColor`, `transparentBackground`.\n- **Camera** — `cameraPitch`, `cameraDistance`, `cameraHeight`, `parallaxStrength`.\n\n## Best for\n\n- Analytics, BI, and financial / fintech dashboard products.\n- Marketing and revenue-ops landing pages where \"data as architecture\" is the pitch.\n- Premium SaaS heroes that want a product screenshot to sit above a living scene.\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-23c0d2127574e4a87fc8a7ccd832e2c9"}