
Pills in the headline
Text, Hover, Images
Hollow Lane Books, a made-up book club, with a big list of genres: point at one and four photo frames with a white border spring out around the word, tilted at random, on an elastic CSS spring; the word turns wider and raspberry, its neighbours step aside and the number of titles rolls up beside it. Minimal style. From the genre list of the Aardvark Book Club site, Awwwards Site of the Day on 30/8/2026.
Rebuilt from scratch studying aardvarkbookclub.com by Future Three, Dylan Brouwer: the idea is theirs; code, copy and images are ours. Read how it’s made
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>
<!--
"Genre photo pop" 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>Hollow Lane Books, browse by genre</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/caveat@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Hollow Lane Books, a made-up book club. A big list of genres: point at one and four framed photos spring out
around the word, tilted at random, while the word swaps for a wider version in the accent colour, the
neighbours step aside and the number of titles rolls up beside it. Move between genres and the frames slide
along with a spring; move the pointer and they drift a little. When nobody touches the page the genres light
up by themselves, one after the other. -->
<main class="page" data-page>
<header class="bar">
<p class="brand" data-in>Hollow Lane Books</p>
<p class="note" data-in data-note>pick a mood,<br>we’ll pick the book</p>
</header>
<div class="wrap" data-wrap>
<ul class="list" data-list>
<li class="item" data-item data-count="214">
<button class="link" type="button" data-link>
<span class="word word--rest">Mystery</span>
<span class="word word--on" aria-hidden="true">Mystery</span>
<span class="count" aria-hidden="true"><span data-num>0</span> titles</span>
</button>
</li>
<li class="item" data-item data-count="386">
<button class="link" type="button" data-link>
<span class="word word--rest">Romance</span>
<span class="word word--on" aria-hidden="true">Romance</span>
<span class="count" aria-hidden="true"><span data-num>0</span> titles</span>
</button>
</li>
<li class="item" data-item data-count="152">
<button class="link" type="button" data-link>
<span class="word word--rest">Sci‑fi</span>
<span class="word word--on" aria-hidden="true">Sci‑fi</span>
<span class="count" aria-hidden="true"><span data-num>0</span> titles</span>
</button>
</li>
<li class="item" data-item data-count="97">
<button class="link" type="button" data-link>
<span class="word word--rest">Poetry</span>
<span class="word word--on" aria-hidden="true">Poetry</span>
<span class="count" aria-hidden="true"><span data-num>0</span> titles</span>
</button>
</li>
</ul>
<div class="holding" data-holding aria-hidden="true">
<div class="holder" data-holder>
<div class="box" data-box>
<img src="nebbia.webp" alt="" width="640" height="427">
<img src="rosa.webp" alt="" width="640" height="427">
<img src="finestre.webp" alt="" width="640" height="427">
<img src="onda.webp" alt="" width="640" height="427">
</div>
</div>
<div class="holder" data-holder>
<div class="box" data-box>
<img src="pioggia.webp" alt="" width="640" height="427">
<img src="rose.webp" alt="" width="640" height="427">
<img src="scie.webp" alt="" width="640" height="427">
<img src="fiore.webp" alt="" width="640" height="427">
</div>
</div>
<div class="holder" data-holder>
<div class="box" data-box>
<img src="pioggia.webp" alt="" width="640" height="427" style="--fx: 30%">
<img src="rose.webp" alt="" width="640" height="427" style="--fx: 70%">
<img src="scie.webp" alt="" width="640" height="427" style="--fx: 25%">
<img src="fiore.webp" alt="" width="640" height="427" style="--fx: 62%">
</div>
</div>
<div class="holder" data-holder>
<div class="box" data-box>
<img src="nebbia.webp" alt="" width="640" height="427" style="--fx: 70%">
<img src="rosa.webp" alt="" width="640" height="427" style="--fx: 40%">
<img src="finestre.webp" alt="" width="640" height="427" style="--fx: 75%">
<img src="onda.webp" alt="" width="640" height="427" style="--fx: 30%">
</div>
</div>
</div>
</div>
<p class="hint" data-in data-hint>Point at a genre</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.
34 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 “Genre photo pop” from Animorio and fit it into my siteEach genre is a button with two copies of the word in the same grid cell: the resting one and the lit one, wider (font-stretch 125%) and raspberry, which starts at opacity 0, scale .75 1.25 and a touch of blur and comes to 1 in .3 s on a bouncy curve.
With sibling selectors and :has() the word under the lit one moves down by .3 words and the one above moves up, the two at two rows by a third of that, in .5 s; the others fade to 30%.
Four frames at 272 by 419 sit around the lit word: two above with their bottom on the middle of the row, two below half a frame lower, half a frame away from the word. They grow from scale 0 to 1 in .4 s and move in .85 s on a spring written in CSS with linear().
At every new genre each frame takes a random offset and tilt of ±15 (percent and degrees); the pointer position over the list, normalised and minus .75, moves them by another ±15% and ±10%, in opposite directions for the four.
Each frame holds the four photos stacked; the one of the lit genre is picked with CSS alone, with :has(.item:nth-of-type(n).is-on) and img:nth-of-type(n). When closing, the photo of the last genre stays inside until the frame is gone.
Beside the word the number of titles rises with GSAP in .7 s and bounces up from below; if nobody touches the page, delayedCall lights the genres one after the other and moves a pretend pointer.
| Name | File | Default | What it changes |
|---|---|---|---|
SPRING | script.js | 0.85 | Seconds of the elastic move of the frames (the site uses .85). |
POP | script.js | 0.4 | Seconds the frames take to grow from zero (the site uses .4). |
SCATTER | script.js | 15 | Random offset (%) and tilt (degrees) of each frame at every genre (the site uses 15). |
PARALLAX | script.js | 15 | How far the frames drift with the pointer, in % (the site uses 15 and 10). |
SHIFT | script.js | 0.3 | How far the genres above and below step aside, in words. |
WIDE | script.js | 125 | Width of the lit word on the wdth axis (100 is the normal word). |
TOUR | script.js | 1.6 | Seconds on each genre in the tour, when nobody touches the page. |
For a book club, a bookshop, a reading blog, a music or film platform, a shop with a few big categories: the words stay clean and the photos only arrive when you look for them.
On a phone the words and the frames are sized on the height too (vh) and the frames stay inside the screen; a tap lights a genre, a second tap closes it, and the tour starts again after a few seconds.
No springs, scaling or movement: the word changes colour with a fade, the neighbours stay still and the frames fade in where they are, slightly tilted.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, Caveat (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.3 KB; the libraries: GSAP 28 KB.
Tested on 25 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.