
The send button
Buttons, Transitions, SVG
The Pay $48.00 button at the end of the checkout of an invented shop, Norrow Goods: a graphite pill on white with an SVG fingerprint in a round well. Held down, the ridges of the print light up in amber one after the other, from the core outwards, each one starting from its top; the well hums faintly and the pill gives a small knock as each ridge closes. With the print full the pill closes into a circle, the ridges slide together into one check and the pill opens again on Paid. Let go early and the ridges go dark backwards, the outer ones first.
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.
<!doctype html>
<!--
"Fingerprint pay button" from Animorio · https://animorio.com
License: free on your own sites and your clients’ sites, paid work included.
Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The pay button with the fingerprint that lights up from the core</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage">
<!-- the Pay button at the end of a checkout (Norrow Goods, an invented shop): a graphite pill with a fingerprint in
a round well. Held down, the ridges of the print light up one after the other from the core outwards, with a
faint hum; held to the end the pill closes into a circle, the print turns into a check and it opens on Paid.
Let go too soon and the ridges go dark again, the outer ones first -->
<button class="pay" type="button" data-pay aria-describedby="pay-live">
<span class="pay__body" data-body aria-hidden="true">
<span class="pay__glass"></span>
<span class="pay__warm" data-warm></span>
<span class="pay__glow"></span>
<span class="pay__sheen"><i data-sheen></i></span>
</span>
<span class="print" data-print aria-hidden="true">
<span class="print__heat" data-heat></span>
<svg class="print__svg" viewBox="0 0 44 44" data-svg>
<g data-hum>
<g class="print__base" data-base></g>
<g class="print__lit" data-lit></g>
<path class="print__check" data-check pathLength="1" d="M14.6 22.6L19.9 27.7L29.6 16.9"/>
</g>
</svg>
</span>
<span class="pay__words" data-words>
<span class="pay__layer" data-layer="rest">
<span class="pay__t">Pay <b data-amount>$48.00</b></span>
<span class="pay__s">Hold to confirm with your finger</span>
</span>
<span class="pay__layer" data-layer="read">
<span class="pay__t">Keep holding</span>
<span class="pay__s">Reading fingerprint</span>
</span>
<span class="pay__layer" data-layer="early">
<span class="pay__t">Hold a little longer</span>
<span class="pay__s">The print was not finished</span>
</span>
<span class="pay__layer pay__layer--paid" data-layer="paid">
<span class="pay__t">Paid</span>
<span class="pay__s"><b data-amount>$48.00</b> to Norrow Goods</span>
</span>
</span>
</button>
<p class="sr" id="pay-live" aria-live="polite" data-live></p>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="script.js"></script>
</body>
</html>Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.
27 values to change
With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:
Take “Fingerprint pay button” from Animorio and fit it into my siteEvery line is an ellipse arc open at the bottom, measured by the angle t (0 at the top): wider and flatter going outwards, tilted seven degrees, with two thin waves on the radius so it does not look drawn with compasses. Some lines are cut at a different angle and become two paths: that is what makes a print of seven lines look real. The points are worked out once, every three degrees, and each one carries its t.
One value p, from 0 to 1, grows while the press lasts (in HOLD seconds). Line k is lit for the part clamp(p·N − k): the inner ones first, the outer ones after. The amber copy of each line keeps only the points with |t| under the lit part, with the two cut points worked out exactly, so it lights from the top towards both ends without dasharray. When p passes a whole line, the pill gets a knock (it squashes by a pixel and comes back) and the line thickens for a moment.
While the finger is down, every frame the print moves a few tenths of a pixel at random, the pill less, and the lit lines flicker between 90 and 100 per cent: the more it is lit, the more it hums. It is the visual sign of the phone’s vibration, without moving anything big.
If the finger lifts before the end the tween stops and p goes back to 0 at a pace that speeds up: since the lit part depends on p, the outer lines go dark first and the core last, each from its ends towards its top. The words say Hold a little longer and after a second and a half go back to Pay.
With the print full the width of the words, the gap and the right padding go to zero together: the pill becomes a 60-pixel circle round the well. Meanwhile every point of every line slides onto the point of the check at the same fraction of the line (left to right), with a delay that grows outwards and a power3.inOut pace: the lines settle on one another and become a check. There the real, thicker check takes their place with a small bounce.
The button captures the pointer (setPointerCapture), so the finger does not lose it while the pill changes width. Space or Enter held down are the finger, with preventDefault so the button does not also make its own click. A click with no finger behind it (a script, an assistive tool, detail 0) starts a reading that goes to the end by itself. The pilot holds by itself, once too briefly and once to the end, until someone touches the button.
| Name | File | Default | What it changes |
|---|---|---|---|
AMOUNT | script.js | 48.00 | The amount, in dollars. |
SHOP | script.js | Norrow Goods | The shop that is paid, in the line under Paid. |
HOLD | script.js | 1.6 | The seconds the finger has to stay down for all the lines to light up. |
RIDGES | script.js | 7 | How many lines the print has: fewer, sparser and more marked; more, denser. |
HUM | script.js | 0.35 | The pixels of the hum while the print is read: 0 keeps it still. |
BOUNCE | script.js | 0.62 | The springs: lower bounces more (0.4), higher settles without passing (1). |
PAID_FOR | script.js | 2.6 | The seconds on Paid before going back to rest. |
LOOP | script.js | true | The pilot pays again and again until someone touches the button. |
For the last step of an online shop’s checkout, a banking or wallet app, a hotel or ticket booking: the button that asks you to hold to confirm and shows how far along it is without a progress ring. It also works for a delicate action to confirm (Hold to delete, Hold to transfer) by changing the words. It has to be wired to the WebAuthn API: here the print is simulated.
The same animation with adapted sizes: the pill stays 60 pixels tall and about 290 wide, never goes past the width of the screen, and under 360 pixels the words get a little tighter. A finger held on the pill reads the print; the long-press menu, selection and scrolling are switched off on the button.
Nothing moves: no hum, knocks or springs. Held down, each line fades in whole in amber, from the core outwards, and let go early it fades away backwards; with the print full the lines fade and the check appears in their place, the pill changes size while the words are gone and Paid fades in.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.4 KB; the libraries: GSAP 28 KB.
Tested on 11 November 2026
Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.