Component
Stamp to Approve
An approve button that drives a rubber stamp down onto the invoice, leaves a textured ink imprint and files the paper away.
Approving something should feel final. Press Approve and a wooden office stamp glides over the top invoice, lifts for a beat, then slams down. The paper dips under the hit, ink flecks squeeze out at the edges, and when the stamp springs back home a slightly crooked, worn-rubber imprint is left behind. The invoice then swoops into the approved counter and the pile springs up to show the next one.
Use it for invoice and expense approvals, content moderation queues, review tools, onboarding checklists, or anywhere a yes deserves some ceremony. It is plain HTML, CSS and JavaScript with no dependencies. It only animates transform and opacity, uses real spring physics (generated as CSS linear() easing, with a fallback), works from the keyboard (Tab and Enter, or the A shortcut), announces each approval to screen readers, and switches to a calm fade under prefers-reduced-motion. Colours, ink, imprint wording and invoice data are all set in one place.