∞ forever components

Claude Code Objects

Hunk Deck

A stack of index cards, each an abstract diff; swipe right to keep a hunk, left to reject it.

canvasmedium complexitymoderate motiondrag

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
1

When to use it

Showing per-hunk review of a diff as a tactile card deck.

When not to

When real code text must be readable.

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Manila index cards with dark ink, forest additions and brick removals. Swipe right to keep, left to reject; preserve demo-v1 and both palettes.

Safe to edit

  • Palette tokens on :root (--co06-*)
  • Proportions and timings in the script

Keep intact

  • demo-v1: __foreverPreview.demoEnabled, forever:interactive, first-input takeover
  • theme: ?theme=, forever:theme messages, light tokens
  • IIFE, visibilitychange, reduced motion, keyboard, aria-live

Known limitations

  • Cards are abstract bars with no code text.
  • State is local to each mounted instance.

claude-codediffreviewcardsswipecanvas

More Claude Code Objects components

  • Context JarGlass jar of sand strata (system, memory, files, conversation). Grains pour until a lid presses the jar into one dense summary band, like /compact.
  • Mode KeyBrass key in a cylinder lock on an enamel plate. Three detents (ask, edits, plan) like Shift+Tab; the key turns with spring overshoot and a lamp changes…
  • Allow StampPaper slip with one command and a rubber stamp that inks ALLOW or DENY, then the slip joins a pile, like a permission prompt.
  • Sub-agent OrbitChalk-on-ink diagram: a pulsing core launches sub-agent moons onto elliptical orbits; each works, curves back and merges, adding a bead to the core. Max…
  • Rewind ReelOpen-reel tape writes file blocks; rewind returns to the previous checkpoint and un-writes them.
  • MCP Patch BayFelt patch bay with braided cables, brass sockets and live packets; amber signals reconnection.