Cards
X-Ray Blueprint Loupe
Sealed chip card where a pointer-tracked loupe reveals a live copper-bus blueprint and die telemetry underneath; tap or click switches narrow and wide lens.
css+canvasmedium complexitymoderate motionpointeraccessible
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Product, hardware or spec cards where a pointer-driven loupe should reveal a technical layer underneath a sealed surface, with a narrow and wide lens.
When not to
Touch-only or print contexts without a pointer, or cards that must show all of their information at once.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Edit the shell copy (.xrl-title, .xrl-sub, .xrl-badge), the revealed layer (.xrl-tag, .xrl-specs and the canvas in draw()), the lens radii (.244 narrow, .43 wide of card width in setWide()) and the accent via --accent. Move the lens with pointer or arrow keys; tap, click, Space or Enter widens it. Keep the demo-v1 lifecycle. Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.
Safe to edit
- Forever Opus tokens on :root (--bg, --surface*, --text*, --border*, --accent) — one moss accent, no gradients
- copy and data values in markup/script
Keep intact
- demo-v1 preview lifecycle: initialize demoEnabled from window.__foreverPreview and stop attract work on the window forever:interactive event; retain manual feedback, settling, cleanup and explicit sessions
- theme hook: ?theme= bootstrap, forever:theme message listener and :root[data-theme="light"] tokens
- IIFE wrapper, visibilitychange sleep, prefers-reduced-motion guard, time-based (dt) animation
Known limitations
- State remains local to each mounted instance; format/theme remount preserves takeover, not component values.
More Cards components
- 3D Tilt ParallaxGraphite card tilts in 3D toward the cursor; a lacquer-red badge, a domed brass orb, a recessed track and text layers float at distinct Z-depths with…
- Frosted GlassA frosted glass card floats over three slowly drifting color blobs (gold, cream, tan); the panel lifts on hover or tap and can be dragged with a spring back.
- Gradient-Border GlowGraphite card framed by a rotating single-hue teal-glaze conic sweep clipped to a 2px ring over a faint base ring; no blurred aura. Contact plus ambient…
- Reveal on HoverDark gradient card that dims and zooms its background art on hover, drag up or tap while a hidden title-and-copy panel slides up from the bottom.
- Holographic IridescentA 3D-tilting card with a warm iridescent sheen and conic foil chip that shift with pointer position; drifts idly until first deliberate input.
- Stacked Peeking CardsThree layered card-stock faces (graphite, jade-deep, saffron-deep) auto-cycle and fan out with a springy rotation on hover; each casts contact plus…