{"_id":"@crazygl/hero-feature-blocks-playground","name":"@crazygl/hero-feature-blocks-playground","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@crazygl/hero-feature-blocks-playground","version":"0.1.1","description":"Feature Blocks Playground — Each selling point is a colourful, chunky 3D block. The blocks fall from above, bounce into a deliberate stacked composition, and respond to hover and click — your product benefits, rendered… A customizable CrazyGL animated her","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.160.0"},"peerDependencies":{"react":">=18","react-dom":">=18"},"license":"Apache-2.0","author":{"name":"ybouane"},"homepage":"https://crazygl.com/hero/feature-blocks-playground","repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-feature-blocks-playground.git"},"publishConfig":{"access":"public"},"keywords":["3d","blocks","playful","features","startup","landing","three","physics","interactive","feature-blocks-playground","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","frontend","component","canvas"],"bugs":{"url":"https://github.com/crazygl-com/hero-feature-blocks-playground/issues"},"gitHead":"505469930491b7b15575f93d2f3518d3de34289f","_id":"@crazygl/hero-feature-blocks-playground@0.1.1","_nodeVersion":"24.14.0","_npmVersion":"11.12.0","dist":{"integrity":"sha512-VdoqmaXoWwvnu1leO07XTrc21E7VsH2RDBbVZsELn8tASFdc7+AEa9KbwZSKgdN2EEu78ywKRtY1bRkpFQwTkQ==","shasum":"7dbb44d9c4f710b9ef304575d9f2ff8332b89ffb","tarball":"https://registry.npmjs.org/@crazygl/hero-feature-blocks-playground/-/hero-feature-blocks-playground-0.1.1.tgz","fileCount":9,"unpackedSize":83704,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDs2KZsJ92CpXl3s+fcQv8hFBIfu6Wka+W3NqtmpF5/gAiEAmOKSfVXJ92If/fcsxb/jZopDI+h+KMB2GoTOaMCFD5c="}]},"_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-feature-blocks-playground_0.1.1_1782922316818_0.051427103925127726"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T16:11:56.467Z","0.1.1":"2026-07-01T16:11:56.972Z","modified":"2026-07-01T16:11:57.200Z"},"maintainers":[{"name":"ybouane","email":"ybouane@ybouane.com"}],"description":"Feature Blocks Playground — Each selling point is a colourful, chunky 3D block. The blocks fall from above, bounce into a deliberate stacked composition, and respond to hover and click — your product benefits, rendered… A customizable CrazyGL animated her","homepage":"https://crazygl.com/hero/feature-blocks-playground","keywords":["3d","blocks","playful","features","startup","landing","three","physics","interactive","feature-blocks-playground","crazygl","hero","hero-section","webgl","react","animation","ui","landing-page","frontend","component","canvas"],"repository":{"type":"git","url":"git+https://github.com/crazygl-com/hero-feature-blocks-playground.git"},"author":{"name":"ybouane"},"bugs":{"url":"https://github.com/crazygl-com/hero-feature-blocks-playground/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-feature-blocks-playground/banner-full.png\" alt=\"Feature Blocks Playground\" width=\"640\">\n</p>\n\n# @crazygl/hero-feature-blocks-playground\n\nEach selling point is a colourful, chunky 3D block. The blocks fall from above, bounce into a deliberate stacked composition, and respond to hover and click — your product benefits, rendered as playful building blocks.\n\n## Demo\n[Feature Blocks Playground](https://crazygl.com/hero/feature-blocks-playground)\n\n## Install\n\n```bash\nnpm install @crazygl/hero-feature-blocks-playground\n```\n\n## Usage\n\n```tsx\nimport FeatureBlocks from '@crazygl/hero-feature-blocks-playground';\n\nexport default function Hero() {\n\treturn (\n\t\t<FeatureBlocks\n\t\t\theading=\"Built to stack.\"\n\t\t\tblock1Label=\"FAST\"   block1Emoji=\"⚡\"\n\t\t\tblock2Label=\"SECURE\" block2Emoji=\"🛡️\"\n\t\t\tonBlock1Click={(e) => console.log('clicked FAST', e)}\n\t\t\tonBlock2Click=\"/features/security\"\n\t\t/>\n\t);\n}\n```\n\nEach `onBlock{1..6}Click` accepts EITHER a string URL (the customizer-facing form, navigates via `window.location.href`) OR a function called with the `PointerEvent`. One prop, type-detected at runtime.\n\n## Customise\n\n- **Content** — `heading` / `subheading`, or `two-columns` / `custom` via `contentType`.\n- **Composition** — `blockCount` (1–6), `gravityStrength` (`0` skips the fall), `hoverLift`, `pointerParallax`, plus `groupOffsetX/Y` and `groupScale`.\n- **Per-block (×6)** — `block{n}Label`, `block{n}Color`, `block{n}Emoji`, `onBlock{n}Click`.\n- **Background** — `transparentBackground`, or `bgTop` / `bgBottom` for the warm-cream gradient.\n- **Typography** — `headingFontFamily`.\n\n## Best for\n\n- Startup and SaaS landing pages where the value prop is a short list of benefits.\n- App launches and product-feature reveal sections.\n- Playful consumer brands that want personality without going noisy.\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-4dadd1c7549ba6c0d9606cce062ca88e"}