
Falling tools
Physics, Hover
The services of Brindle Veterinary, a made-up veterinary clinic, in the premium style of Dribbble shots: four cream enamel tags with satin steel rims, hung by a split ring from hooks that slide on a gallery rail. Each one is a pendulum with real physics: gravity brings it back down, the air slows it, the pointer crossing them pushes them and neighbours knock softly; when a hook slides along the rail the tag lags behind, against the acceleration. A tap opens a tag on its spring, it turns to green enamel and shows the length of the visit, the price and a note, while the other hooks slide aside to make room and their tags swing.
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>
<!--
"Vet service tags" 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>Brindle Veterinary, our services</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" data-stage>
<!-- the services of a made-up veterinary clinic, Brindle Veterinary, as enamel tags on satin metal rims, each one
hanging from a split ring and a sliding hook on a gallery rail. Every tag is a real pendulum: gravity brings it
back, the air slows it down, the pointer pushes it and the hooks slide along the rail; when a hook moves the tag
lags behind, against the acceleration. A tap opens a tag: it grows on a spring, turns to green enamel and shows
the length of the visit and the price, while the other hooks slide aside to make room -->
<div class="wall" data-wall>
<header class="head">
<div class="head__who">
<span class="head__mark" aria-hidden="true">
<svg viewBox="0 0 24 24"><ellipse cx="12" cy="15.6" rx="4.6" ry="3.7"></ellipse><ellipse cx="6.1" cy="10.4" rx="1.7" ry="2.2" transform="rotate(-18 6.1 10.4)"></ellipse><ellipse cx="9.7" cy="7.2" rx="1.8" ry="2.4" transform="rotate(-6 9.7 7.2)"></ellipse><ellipse cx="14.3" cy="7.2" rx="1.8" ry="2.4" transform="rotate(6 14.3 7.2)"></ellipse><ellipse cx="17.9" cy="10.4" rx="1.7" ry="2.2" transform="rotate(18 17.9 10.4)"></ellipse></svg>
</span>
<div>
<p class="head__brand">Brindle Veterinary</p>
<h1 class="head__title">Our services</h1>
</div>
</div>
<p class="head__hours">Open today<br><b>08:00 to 22:00</b></p>
</header>
<div class="shades" data-shades aria-hidden="true"></div>
<div class="rail" data-rail aria-hidden="true">
<span class="rail__bracket rail__bracket--l"></span>
<span class="rail__bracket rail__bracket--r"></span>
<span class="rail__bar"></span>
</div>
<div class="hooks" data-hooks aria-hidden="true"></div>
<ul class="tags" data-tags aria-label="Services"></ul>
</div>
<p class="sr" data-live aria-live="polite"></p>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></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.
21 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 “Vet service tags” from Animorio and fit it into my siteEach hook is a mass on a spring that brings it back to its place on the rail; each tag is a pendulum hanging from the hook, its angle following α = −(g/L)·sin θ − (a/L)·cos θ − friction·ω. The second term is the hook’s acceleration with the opposite sign: when the hook sets off to the right the tag lags to the left, when it brakes it swings ahead. Everything is in em, with four small steps per frame on the GSAP ticker, so the physics is the same at any window size.
The pointer is brought into the frame of the rotated tag (along and across the string): if it is inside, its speed is compared with the speed of the touched point (ω times the distance from the pivot plus the hook’s speed) and the difference becomes a push. Resting over a tag does not stop it; neighbours that get too close push apart on a stiff spring, and the blow is passed on.
Opening a tag means moving the target of a damped spring from 0 to 1: width and height follow the spring (with its small overshoot), the pendulum gets longer and swings slower, the hook places are worked out again from the new widths and their springs move them. The green enamel is a layer over the cream one that fades in; the details arrive afterwards, staggered, with a back.out.
| Name | File | Default | What it changes |
|---|---|---|---|
GRAVITY | script.js | 120 | How strong gravity is, in em per second squared: higher swings faster. |
AIR | script.js | 0.7 | How quickly a swinging tag calms down (air friction). |
PUSH | script.js | 0.6 | How much the pointer pushes a tag when it moves across it. |
RAIL | script.js | 60 | How stiff the spring that brings each hook back to its place on the rail. |
SPRING | script.js | 170 | How stiff the spring that opens and closes a tag. |
BOUNCE | script.js | 0.42 | The damping of the opening: lower bounces more. |
LOOP | script.js | true | Left alone, a pointer sweeps the tags and opens two services. |
--accent | style.css | #1f6b5c | The green of the open enamel, the icons and the mark. |
--cream | style.css | #fbf8f1 | The cream enamel of the closed tags. |
--bg | style.css | #ece7df | The sand colour of the wall. |
For the services section of a veterinary clinic, a pet groomer, a pet hotel or any business with a few services and a price list: the items look like real objects, you tap them to read the length and the price and they stay light on the page.
The same animation with adapted measures: the wall is sized on width and height together and fits the box even with a tag open; a finger sliding over the tags pushes them like the pointer and a tap opens them.
No swinging or sliding: the tags stay still in their place, open at once and their green enamel and details arrive with a fade.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 10 KB; the libraries: GSAP 28 KB.
Tested on 16 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.