Magic tree QR
A QR code generator: paste a link and get a real, scannable code in leaf-coloured squares; tap it and it becomes an isometric 3D tree standing on a slab whose tiles are the code.
What it is for
Share and invite pages, publishing links, the connect page, print and event materials.
Every link grows a different tree. Pick spring, summer, autumn or winter (falling petals, leaves or snow) or your own leaf and trunk colours, and download the code as PNG or SVG.
Use it
1 · site.json
"effects": { "components": ["magic-tree-qr"] }or on the command line
node ~/.claude/skills/sitewright/scripts/scaffold.mjs --config site.json --out ./my-site --components magic-tree-qr2 · import it
import { MagicTreeQr } from '@/components/fx/ui';Files
components/fx/ui/MagicTreeQr.tsxcomponents/fx/ui/_qr.tscomponents/fx/ui/_d6.tscomponents/fx/ui/_tree3d.tsxui-magic-tree-qr.cssstyles
Accessibility
- Keyboard. Components in the kit are written to be reached and used with the keyboard. Try it: press Tab inside the preview.
- Reduced motion. With
prefers-reduced-motionon, animation settles to its finished state at once. - Touch. Pointer-follow effects are skipped on touch screens; controls stay finger-sized.