
The liquid grid
Hover, Transitions
Finding a tutor by subject on a white card: the subject bar with its blue pill and the list of tutors, each with initials, subjects, rating and rate. Hovering a subject makes those who do not teach it shrink and vanish, the others move up into their place one after the other on a spring, the card shortens and the count rolls; hovering a tutor turns the rate into “Book a trial”.
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>
<!--
"Tutor finder" 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>Tutor finder</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">
<!-- finding a tutor by subject: the subjects to choose, the tutors who do not teach it leaving and
the others moving up into their place, with the count rolling -->
<article class="tf" data-tf aria-label="Find a tutor">
<header class="tf__head"><strong>Find a tutor</strong><span class="tf__count"><span data-outcount>5 tutors</span></span></header>
<div class="tf__subs" role="tablist" aria-label="Subject" data-subs>
<i class="tf__pill" data-pill aria-hidden="true"></i>
<button type="button" role="tab" aria-selected="true" data-sub="all">All</button>
<button type="button" role="tab" aria-selected="false" data-sub="maths" tabindex="-1">Maths</button>
<button type="button" role="tab" aria-selected="false" data-sub="physics" tabindex="-1">Physics</button>
<button type="button" role="tab" aria-selected="false" data-sub="english" tabindex="-1">English</button>
</div>
<ul class="tf__list" data-list></ul>
</article>
<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.
16 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 “Tutor finder” from Animorio and fit it into my siteThe rows all sit at the top of the list, one over the other, and each is moved to its slot with a translation: the slot is its number among those passing the filter. Changing subject means recounting the slots.
Whoever fails the filter shrinks and fades in place. Whoever stays goes to the new slot on a spring, slightly after the one above. Whoever comes back starts a little below its slot, so it seems to rise.
The list’s height is the number of visible rows times a row’s height, animated: the card tightens and widens with it and stays centred.
Under the pointer, or with keyboard focus, the row takes a tint and the rate rolls into the invitation to book a trial; on leaving the rate comes back.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #3b5bfd | The colour of the chosen subject and of the avatars. |
SPRING | script.js | 1 | How much the rows bounce when they change slot. |
STAGGER | script.js | 0.05 | How many seconds pass between one row and the next. |
HOLD | script.js | 2.2 | How many seconds the demo’s pointer stays on each subject. |
LOOP | script.js | true | Left alone, the demo’s pointer goes over the subjects and one tutor. |
On the site of a tutoring school, a private lessons platform or an after-school club, where you choose the subject and see who teaches it; the same filtered list carries doctors by speciality, a firm’s professionals by area, courses by level or products by category.
The card is at most 344 pixels wide and about 330 tall at most with all five tutors, and shortens when the filter leaves fewer. Long names truncate with an ellipsis. With a finger the subjects are tapped; the “Book a trial” invitation appears on focus, not on hover.
No springs and no slides: on a subject change the rows are in place at once, those that do not match vanish without shrinking and the list already has its new height; the count and the rate change without rolling. 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.6 KB; the libraries: GSAP 28 KB.
Tested on 29 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.