
The inchworm menu
Menus, Hover, Transitions
The Follow button of an invented podcast, Field Notes After Dark, on its dark show card. Press it and the cream pill squashes, turns dark and narrows into «Following» with a lilac tick that draws itself, the follower count rolls up by one and a round bell slides out beside it and rings. The bell opens a small glass panel with three alert levels, All episodes, Highlights and Off: a mark slides under the chosen one, stretching while it travels, and the bell changes face to match (full with its sound waves, outlined, struck through). Point at «Following» and it offers to unfollow, and everything goes home.
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>
<!--
"Podcast follow button" 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>The podcast follow button with the bell and the choice of alerts</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 show card of an invented podcast: «Follow» turns into «Following», the follower count rolls up by one and a
bell slides out beside the pill; the bell opens a small panel with three alert levels, a mark slides under the
chosen one and the bell rings and changes face to match -->
<section class="show" aria-labelledby="show-title">
<span class="show__glow" data-glow aria-hidden="true"></span>
<div class="show__top">
<div class="cover" aria-hidden="true">
<svg viewBox="0 0 100 100">
<defs>
<radialGradient id="g-cover" cx="30%" cy="25%" r="90%">
<stop offset="0" stop-color="#b9a8ff"/>
<stop offset=".55" stop-color="#5a4bd6"/>
<stop offset="1" stop-color="#1b1647"/>
</radialGradient>
</defs>
<rect width="100" height="100" fill="url(#g-cover)"/>
<g class="cover__rings" data-rings fill="none" stroke="#fff">
<circle cx="50" cy="62" r="10" stroke-opacity=".7"/>
<circle cx="50" cy="62" r="20" stroke-opacity=".45"/>
<circle cx="50" cy="62" r="30" stroke-opacity=".28"/>
<circle cx="50" cy="62" r="40" stroke-opacity=".16"/>
</g>
<path d="M14 22h30" stroke="#fff" stroke-opacity=".85" stroke-width="2.4" stroke-linecap="round"/>
<path d="M14 29h18" stroke="#fff" stroke-opacity=".5" stroke-width="2.4" stroke-linecap="round"/>
</svg>
<span class="cover__sheen" data-sheen></span>
</div>
<div class="show__info">
<span class="show__kicker">Podcast</span>
<h1 class="show__title" id="show-title">Field Notes After Dark</h1>
<p class="show__meta">Hollowmere Audio <span aria-hidden="true">·</span> weekly</p>
<p class="show__count"><span class="roll" data-count aria-live="polite">12,480</span> followers</p>
</div>
</div>
<div class="actions" data-actions>
<button class="follow" type="button" data-follow aria-pressed="false">
<span class="follow__shine" data-shine aria-hidden="true"></span>
<span class="follow__face follow__face--off" data-off>
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 3.2v9.6M3.2 8h9.6"/></svg>Follow
</span>
<span class="follow__face follow__face--on" data-on aria-hidden="true">
<svg viewBox="0 0 16 16" aria-hidden="true"><path class="tick" data-tick d="M3.4 8.4l3 3 6.2-6.6" pathLength="1"/></svg>Following
</span>
<span class="follow__face follow__face--leave" data-leave aria-hidden="true">Unfollow</span>
</button>
<div class="bell-wrap" data-bellwrap>
<button class="bell" type="button" data-bell aria-haspopup="true" aria-expanded="false" aria-label="Episode alerts: all episodes">
<svg viewBox="0 0 24 24" aria-hidden="true">
<g data-bellbody>
<path class="bell__shape" data-shape d="M12 3.6c-3.3 0-5.6 2.5-5.6 5.8v3.3l-1.7 2.6c-.3.5 0 1.1.6 1.1h13.4c.6 0 .9-.6.6-1.1l-1.7-2.6V9.4c0-3.3-2.3-5.8-5.6-5.8z"/>
<path class="bell__clapper" data-clapper d="M9.8 18.6a2.3 2.3 0 0 0 4.4 0"/>
</g>
<path class="bell__wave" data-wave d="M3.4 7.6a8.6 8.6 0 0 1 2.1-3.4M20.6 7.6a8.6 8.6 0 0 0-2.1-3.4"/>
<path class="bell__slash" data-slash d="M4.6 3.8l14.8 16.4" pathLength="1"/>
</svg>
</button>
</div>
<div class="menu" data-menu role="dialog" aria-label="Episode alerts" aria-hidden="true">
<span class="menu__title">Notify me about</span>
<div class="seg" data-seg role="radiogroup" aria-label="Notify me about">
<span class="seg__mark" data-mark aria-hidden="true"></span>
<button class="seg__opt" type="button" role="radio" aria-checked="true" data-opt="all">All episodes</button>
<button class="seg__opt" type="button" role="radio" aria-checked="false" data-opt="best">Highlights</button>
<button class="seg__opt" type="button" role="radio" aria-checked="false" data-opt="off">Off</button>
</div>
<p class="menu__hint" data-hint>Every new episode, the moment it is out.</p>
</div>
</div>
<div class="latest">
<span class="latest__play" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M5.5 3.6v8.8l7-4.4z"/></svg></span>
<span class="latest__text"><b>The quiet hour</b> <span>Latest <span aria-hidden="true">·</span> 41 min</span></span>
</div>
<p class="note" data-note aria-live="polite"></p>
</section>
<svg class="pointer" data-pointer viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.5 18.5 12 12.4 13.6 9.4 19.6z"/></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.
37 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 “Podcast follow button” from Animorio and fit it into my siteInside the pill sit three faces on top of each other, Follow, Following and Unfollow. GSAP swaps them by sliding them vertically and changes the pill’s width by measuring the face that arrives, on a back.out curve with the overshoot of SPRING, together with the background colour.
Beside the pill there is a holder zero pixels wide: on follow it widens to 46 pixels and the bell inside goes from scale 0.4 to 1. It rings with a run of rotations around its hook (svgOrigin 12 4) while the clapper swings the other way.
The mark under the levels first widens towards the new level, covering part of the gap between the two, then narrows to the right size on a back.out: it looks like a drop travelling. It is measured with offsetLeft against the row.
The follower count is one span per digit; only the digits that change leave upwards and come back from below, one after the other from the right.
| Name | File | Default | What it changes |
|---|---|---|---|
MORPH | script.js | 0.55 | Seconds for the pill to turn from Follow into Following. |
SPRING | script.js | 1.6 | How far the pill and the bell pass their size before settling (0 none). |
PRESS | script.js | 0.94 | How much the pill squashes under the finger (1 never). |
RING | script.js | 1 | How wide the bell swings when it rings (0 still). |
SLIDE | script.js | 0.42 | Seconds for the mark to slide to another alert level. |
STRETCH | script.js | 1 | How much the mark stretches while it travels (0 none). |
GLOW | script.js | 1 | How bright the lilac glow is once you follow (0 none). |
SPEED | script.js | 1 | Speed of the drawn pointer: 2 twice as fast, 0.5 half. |
On the page of a podcast, a channel, a newsletter or a creator: whoever follows picks right away how often to be alerted, without opening the settings.
The same animation with adapted sizes: the card is 92% of the screen wide, the cover and the headline are sized on the height too, the panel stays inside the card. Without hover, Unfollow comes with a tap on the pill.
Nothing moves: the pill’s faces and the panel arrive as fades, the bell does not ring, the mark goes straight to its place and the digits change without rolling; the pilot has no pointer and only shows the states one after another.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.2 KB; the libraries: GSAP 28 KB.
Tested on 8 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.