
The elastic button
Buttons, Hover, Text
The “I’m not a robot” box at the end of a form, with no puzzle to solve. On tap the square rounds off and turns into a spinning ring while the check runs; then the ring closes, the circle fills with teal, the tick draws, the shield on the right confirms with its own tick and a band of light crosses the box: “Verified”.
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>
<!--
"Human check box" 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>Human check box</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 "I'm not a robot" box of a form: the square turns into a ring that checks,
then closes into a filled tick while the shield on the right confirms -->
<div class="hc" data-hc data-state="idle">
<button class="hc__btn" type="button" role="checkbox" aria-checked="false" data-btn>
<span class="hc__box" data-box aria-hidden="true">
<svg class="hc__ring" data-spin viewBox="0 0 28 28"><circle data-ring cx="14" cy="14" r="11.500" pathLength="1"></circle></svg>
<svg class="hc__tick" viewBox="0 0 28 28"><path data-tick d="M8.200 14.600l3.900 3.900 7.700-8.400" pathLength="1"></path></svg>
</span>
<span class="hc__text">
<span class="hc__label"><span data-label>I’m not a robot</span></span>
<span class="hc__sub" data-outsub>Tap the box to continue</span>
</span>
</button>
<span class="hc__brand" aria-hidden="true">
<svg viewBox="0 0 24 24"><path class="hc__shield" d="M12 2.800 19.200 5.600v5.600c0 4.600-2.900 8.300-7.200 10-4.300-1.700-7.200-5.400-7.200-10V5.600Z"></path><path class="hc__ok" data-ok d="M8.700 12.200l2.400 2.400 4.300-4.700" pathLength="1"></path></svg>
<b>Palisade</b>
</span>
<span class="hc__shine" data-shine aria-hidden="true"></span>
</div>
<span class="live" aria-live="polite" data-live></span>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.200 19.200 11l-6.300 1.600-3.300 5.900Z"></path></svg>
</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.
13 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
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 “Human check box” from Animorio and fit it into my siteIt is a button with role checkbox: aria-checked is false, mixed during the check and true at the end. The state is also in an attribute of the box, from which CSS takes colours and cursor.
GSAP takes the border radius from 8 to 14 pixels and lightens the border; on top an svg appears with a pathLength 1 circle, a little over a quarter of it visible, rotating whole around its centre, one turn every SPIN seconds.
After CHECK seconds the arc’s stroke-dashoffset goes to zero and the ring closes; then the background takes the colour, the tick draws, the shield does the same and a light band crosses the box with xPercent.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #0f9b8e | The colour of the checking ring and of the verified box. |
CHECK | script.js | 1.7 | How many seconds the check lasts before Verified. |
SPIN | script.js | 0.8 | How many seconds the ring takes for one turn. |
At the end of a sign-up, contact or login form, before the submit button; in a checkout after too many attempts, in a blog’s comments, in a poll open to everyone. The real check is done by the anti-bot service: this is its face.
The box is at most 308 pixels wide and narrows with the screen, 76 tall. The whole left part is tappable, not just the square; the shield on the right stays 72 pixels wide.
The ring does not spin and nothing bounces: on tap the square becomes a circle with a still arc, and when the check is over it is already filled with its tick, like the shield. No light band. The demo’s pointer does not start.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.2 KB; the libraries: GSAP 28 KB.
Tested on 26 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.
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.