Pixel Grove
Pixel trees grown from code (sakura, shrub, maple, birch, willow, layered pine) in wind you play with: drag across the stage and the drag becomes a gust, drawn as ink strokes sweeping through.
When to use it
- Seasonal campaign heroes where the offer is found, not shown: shake the lantern loose to reveal this season's code
- Game and gamified campaign pages that want a living pixel world behind the headline, or a small toy with a prize in an empty state
Watch out
- Without reward there is no lantern; pass reward to turn the toy into an offer, and keep the code also reachable elsewhere on the page for visitors who never shake the tree
- Drags are horizontal gusts; the stage keeps vertical scrolling (touch-pan-y), so on phones a sideways swipe blows and an up or down swipe scrolls
- Stage height is fixed at 96 art pixels (288px at pixelSize 3); trees shrink to fit their slot and the canvas, so use one tree on narrow phones
- Sound needs a click before the browser lets it play and is off by default; never turn it on without the visitor asking
Let your agent add it
One copy holds the install command, when to use it, the props and the design rules. Paste it into Claude Code, Cursor or Codex.
This is a Pro block
One license unlocks every Pro block, now and in the future.
One-time $129 with a year of updates, or $19 a month. Use it in unlimited personal and client projects; installed blocks stay yours.
Install with your license
- 1. Add the SunUI Pro registry to
components.json.components.json{ "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } - 2. Put your license key in
.env.local.$ SUNUI_LICENSE_KEY=your-license-key - 3. Install the block.
$ npx shadcn@latest add @sunui-pro/pixel-grove
Similar blocks
- Pro
- Pro
- Pro
- Pro
- Pro
- Pro