Stamp Card

A loyalty card whose eight stamps thump down one by one, each at its own crooked angle, until the reward unlocks.

acme coffeefree cup ready

Build a loyalty stamp card that fills itself one stamp at a time. Structure: a rounded card with a header row (brand name on one side, a progress counter on the other) and a grid of 8 circular slots in two rows of four. Empty slots are a dashed 1.5px border in low-opacity ink. A filled slot is a solid accent circle with a small icon centered in it, and its dashed border goes transparent so the ring does not linger behind the fill. The fill sequence: stamps land one at a time, 210ms apart. Each stamp animates from scale 1.9 and opacity 0 down to scale 1 and opacity 1 on a stiff spring (stiffness ~620, damping ~17), so it reads as pressed down onto the card rather than faded in. Give each slot its own fixed rotation between about -9 and +8 degrees, varying by index - a straight stamp reads as a checkbox, a crooked one reads as ink pressed by a hand. On the eighth stamp: the card's border transitions to the accent color over 0.4s and the whole card pulses once (scale 1 to 1.03 and back, 0.4s). The counter switches from "3 of 8" to the reward text. Accessibility: the counter is aria-live="polite" so progress and the reward are announced; the stamps and icons are aria-hidden. Under prefers-reduced-motion, render the completed card with all stamps in place. Colors as tokens: paper card, hairline border, one accent for stamps and the completed border. Use a neutral placeholder brand name, not your own. Build the component, not this demo of it. - Ambient motion that IS the component may loop: a drifting background, a marquee, a spinner while something is genuinely loading. - Do not add any timer, interval, loop or script that performs a person's action by itself. No auto-hover, no auto-click, no cycling through states, no pretend submitting, no replaying the interaction on a schedule. - Every state that answers a person waits for a real event from that person. - Placeholder copy and sample content are welcome. Simulated behaviour is not.

Rate it
0
0

We'd like to measure how the site gets used, with Google Analytics. It sets cookies. Everything the site needs to work runs either way. How we handle data