
The liquid grid
Hover, Transitions
The mentions under a blog post, gathered from the rest of the web: likes, reposts and replies in three views. On changing view the pill slides and the faces arrive one after the other on a spring, or the replies come in from the side with who wrote them and from where. “Check for new mentions” runs a line, then the new mentions land in their place and the counts jump.
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>
<!--
"Webmentions" 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>Webmentions</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 webmentions under a blog post: likes, reposts and replies gathered from around the web, three views
with the faces arriving one after the other, and new mentions landing when it checks again -->
<section class="wm" data-wm aria-labelledby="wm-title">
<header class="wm__head">
<span class="wm__name"><b id="wm-title">Around the web</b><span class="wm__whenroll"><span data-when>Mentions of this post</span></span></span>
<span class="wm__total" aria-live="polite"><b data-total>33</b><span>mentions</span></span>
</header>
<div class="wm__tabs" role="tablist" aria-label="Kind of mention" data-tabs>
<i class="wm__pick" data-pick aria-hidden="true"></i>
<button class="wm__tab" type="button" role="tab" aria-selected="true" data-tab="likes">Likes <b data-n>24</b></button>
<button class="wm__tab" type="button" role="tab" aria-selected="false" tabindex="-1" data-tab="reposts">Reposts <b data-n>6</b></button>
<button class="wm__tab" type="button" role="tab" aria-selected="false" tabindex="-1" data-tab="replies">Replies <b data-n>3</b></button>
</div>
<div class="wm__body" data-body role="tabpanel"></div>
<button class="wm__go" type="button" data-go><i class="wm__bar" data-bar aria-hidden="true"></i><span class="wm__gotext"><span data-golabel>Check for new mentions</span></span></button>
</section>
<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.
23 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 “Webmentions” from Animorio and fit it into my siteThe state is three lists (likes, reposts, replies). The tabs’ counts and the total are their lengths; each view is built from the list of its kind, with text nodes and never with innerHTML.
The old view leaves in 140 milliseconds on the right side, then the new one takes its place: the tiles grow from 0.3 on a spring, STAGGER seconds apart; the replies come in from the side.
The three views sit in the same panel 150 pixels tall: the card stays still whichever tab is chosen.
A line at the bottom of the button grows with scaleX for CHECK seconds; at the end the new mentions enter the lists, the counts update with a jump and the view in sight is rebuilt animating only the new ones.
role tablist, tab and tabpanel, with the keyboard arrows; the pill moves in percent.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #ff6b8b | The colour of the counts, of the mentions just arrived and of the checking line. |
STAGGER | script.js | 0.022 | The delay between one face and the next when a view comes in. |
CHECK | script.js | 1.3 | How many seconds the check for new mentions lasts. |
SPRING | script.js | 1 | How much the faces and the tabs’ pill bounce: 0.3 = a little, 2 = a lot. |
LOOP | script.js | true | Left alone, the demo’s pointer goes through the three views and checks for new mentions. |
At the bottom of a post on a personal blog or newsletter, to show what was said about it elsewhere (Mastodon, Bluesky, other blogs) without a comment system of its own; and on any page that gathers reactions of different kinds.
The same card, as wide as the screen minus the margins: the tiles stay eight per row and tighten with the width, the tabs are 30 pixels tall and long reply texts are cut with an ellipsis.
No growing tiles and no rows coming in from the side: the new view takes the old one’s place with a fade, the pill is at once on the right tab, the check takes a moment and the counts change without jumping. The demo does not move by itself.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.5 KB; the libraries: GSAP 28 KB.
Tested on 24 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.