Claude Code Objects
Limit Sundial
Weathered stone sundial with bronze shadow and five hour marks. A clay arc shows the used share of an illustrative five-hour window, then resets. Tap switches time left and reset time.
canvasmedium complexitymoderate motionclick
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Showing a usage-limit window or time-to-reset for a coding agent.
When not to
Precise countdowns or seconds-level timers are needed.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the window length, reset time and sweep speed in the script; keep the stone texture build and the demo-v1 lifecycle.
Safe to edit
- colour tokens on :root and the light block (--co12-*)
- window minutes, reset clock string and sweep duration 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
- Canvas drawn; the time text is not selectable.
- Times are invented demo data and the sweep is accelerated.
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…
- Hunk DeckA stack of index cards, each an abstract diff; swipe right to keep a hunk, left to reject it.
- Rewind ReelOpen-reel tape writes file blocks; rewind returns to the previous checkpoint and un-writes them.