Coin fly
A coin leaves the button and lands in the cart.
Feedback effects for the moment after a click. Squish, burst, confirm, recover. One attribute, your button, no dependencies.
See every effectBurst and squish on three different buttons. The effect reads each one’s colours.
AP / 01 — JOURNEYS
A coin leaves the button and lands in the cart.
The label turns over to confirm the new state.
The button crumbles away. A demo: nothing is deleted.
AP / 02 — THE COLLECTION
Press any tile to play it, as often as you like. Hit Tune ↗ to change the timing and copy the code.
Loading 58 effects…
Nothing matches.
AP / 03 — FOR AGENTS
“add a success burst to my pay button”
zm_call("feedback-kit", "get", { id: "burst" })zm_call("feedback-kit","get",{id:"coin-fly"})One attribute. Your colours. No dependencies.
Afterpress (formerly Feedback Kit) is a free, MIT-licensed kit by ZirkoMirko that adds press, success, error and progress feedback to an existing button with one attribute, data-zm-fx. It has 58 effects in seven groups: press, particles, attention, success, progress, error and count, from ripple, squish and burst to hold-ring, swipe-to-confirm, cooldown and paper-plane. Effects take their colours from the button they sit on, and on Button Factory buttons they follow the button's loading, success and error states. Each effect is a standalone vanilla HTML, CSS and JavaScript snippet with no dependencies.