Feedback & States
Retry Countdown
A retry card counts down in a large rolling number over a ticked scale; the card lifts on a deeper shadow while it reconnects, Retry skips the wait, three attempts end in a drawn tick and Drop starts again.
csslight complexitymoderate motionpointer+keyboardaccessible
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Keep the begin/attempt/tick/drop functions and the single status title; the demo only restarts the story after it succeeds. Safe to change wait lengths, copy and tokens.
Safe to edit
- tokens
- labels
- copy
Keep intact
- demo-v1 idle demo and takeover
- theme hook
- reduced-motion and visibilitychange guards
- nx35- prefix
More Feedback & States components
- Success CheckMint-green ring sweeps closed and a checkmark draws in with a springy pop and expanding halo; initial replay stops after first input; click or Space runs…
- Error ShakeDark email input shakes horizontally with decaying-sine, border flushes red, X icon pops in with overshoot spring, validation message slides up.
- Toast StackCompact notification toasts with one clear structure: status icon (check, x, exclamation, info), a short title, one muted detail line, a text action and a…
- Hold to ConfirmPress-and-hold fills a tick-marked ring; a full hold rotates the center square 45° into a verdigris check, and an early release flashes a coral cross…
- Empty StateA Bauhaus open vessel sits empty while 26 jade motes drift in a slow orbital cloud above it; poking scatters them and they spring back to settle.
- Like BurstRose-and-verdigris enamel palette: a heart spring-pops with 96 dots and ring shards. First input stops the demo; later input toggles the liked state.