
The inchworm menu
Menus, Hover, Transitions
The Join call button of Hallway, a made-up video call app, on black: three people are already talking in the pill, with a thin ring moving to whoever has the floor, three little bars dancing and the call time running. Pressed, the green disc becomes your face and flies to the front of the row on a small arc, while the others slide right one after the other to make room; the pill widens into the call bar with the time, the microphone, the camera and Leave. Leave folds it all away and the row closes up again.
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>
<!--
"Join call 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 Join call button with the avatars making room in the pill</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 Join call button of Hallway, a made-up video call app: three people are already talking in the pill;
pressed, the green disc becomes your avatar and flies into the row while the others slide over to make room,
and the pill opens into the call bar with the timer, the microphone, the camera and Leave -->
<div class="wrap" data-wrap>
<div class="pill" data-pill role="group" aria-label="Design sync call">
<span class="pill__glow" data-glow aria-hidden="true"></span>
<div class="pill__clip">
<span class="pill__grain" aria-hidden="true"></span>
<span class="pill__sheen" data-sheen aria-hidden="true"></span>
</div>
<!-- the people in the call; index 0 is you, hidden until you join -->
<div class="faces" data-faces aria-hidden="true">
<span class="face face--you" data-face="you" style="--c: var(--you)">You<svg class="badge" data-badge viewBox="0 0 16 16"><circle cx="8" cy="8" r="7.2"/><path d="M6.4 4.6a1.6 1.6 0 0 1 3.2 0v2.6M4.9 7.6a3.1 3.1 0 0 0 4.4 2.8M8 10.9v1.3M4.6 4.6l6.8 6.8"/></svg></span>
<span class="face" data-face style="--c: var(--p1)">MK</span>
<span class="face" data-face style="--c: var(--p2)">JO</span>
<span class="face" data-face style="--c: var(--p3)">AR</span>
</div>
<!-- the words: four states stacked in a window, rolled with GSAP -->
<div class="words" data-words aria-hidden="true">
<div class="state" data-state="idle">
<span class="label">Join call</span>
<span class="sub"><span class="eq" data-eq><i></i><i></i><i></i></span><span data-meet>Design sync</span><span class="sep">·</span><span class="clock" data-clock>12:04</span></span>
</div>
<div class="state" data-state="joining">
<span class="label">Joining</span>
<span class="sub"><span data-meet>Design sync</span><span class="sep">·</span><span class="clock" data-clock>12:04</span></span>
</div>
<div class="state" data-state="call">
<span class="label label--clock" data-clock>12:04</span>
<span class="sub" data-count>4 in call</span>
</div>
<div class="state" data-state="left">
<span class="label">You left</span>
<span class="sub sub--muted">Rejoin anytime</span>
</div>
</div>
<!-- idle: the round green disc; the whole pill is the Join button -->
<span class="disc" data-disc aria-hidden="true">
<svg viewBox="0 0 24 24"><path d="M4 8.2c0-1.2 1-2.2 2.2-2.2h7.1c1.2 0 2.2 1 2.2 2.2v7.6c0 1.2-1 2.2-2.2 2.2H6.2C5 18 4 17 4 15.8Z"/><path d="m15.5 10.6 3.6-2.3c.6-.4 1.4 0 1.4.8v5.8c0 .8-.8 1.2-1.4.8l-3.6-2.3"/></svg>
</span>
<button class="join" type="button" data-join aria-label="Join the Design sync call"></button>
<!-- in the call: microphone, camera, Leave -->
<div class="controls" data-controls>
<button class="ctl" type="button" data-mic aria-pressed="false" aria-label="Mute microphone">
<svg viewBox="0 0 24 24" aria-hidden="true"><rect x="9" y="3.6" width="6" height="11" rx="3"/><path d="M5.8 11.4a6.2 6.2 0 0 0 12.4 0M12 17.6V20.4"/><path class="slash" data-slash d="M4.6 4.6 19.4 19.4"/></svg>
</button>
<button class="ctl" type="button" data-cam aria-pressed="false" aria-label="Turn camera off">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3.8 8.4c0-1.1.9-2 2-2h7.6c1.1 0 2 .9 2 2v7.2c0 1.1-.9 2-2 2H5.8c-1.1 0-2-.9-2-2Z"/><path d="m15.4 10.6 3.4-2.1c.6-.4 1.4 0 1.4.8v5.4c0 .8-.8 1.2-1.4.8l-3.4-2.1"/><path class="slash" data-camslash d="M4.6 4.6 19.4 19.4"/></svg>
</button>
<button class="leave" type="button" data-leave>Leave</button>
</div>
<span class="pill__edge" aria-hidden="true"></span>
</div>
<p class="sr" data-live aria-live="polite"></p>
</div>
<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.
35 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 “Join call button” from Animorio and fit it into my siteInside the pill every part is absolute and GSAP moves it with x: the layout function measures for every state (at rest, in the call, left) where the faces, the words, the disc and the keys go, and how wide the pill is. The tweens read those sizes through function values, so they stay right after a resize or when the typeface arrives.
Your face starts 1.25 times larger over the disc, which squashes and disappears; it travels to the front of the row in power3.inOut, with two keyframes on y for the arc and one full turn, and lands with a squash in elastic.out. The other three slide one step with back.out and a stagger that starts from the last one.
Four word states sit on top of each other in a window 36 pixels tall: Join call, Joining, the time with 4 in call, You left. The old one rises and fades, the new one comes from below with back.out; the call time is written once a second in every place it appears, with tabular figures.
The speaker ring is a second, green box-shadow on the face, outside the dark line that separates it from the others: so it stays attached even while the faces fly. Every SPEAK_EVERY seconds it passes to someone else with a little scale bounce, never to you if your microphone is off; the face on the left sits over the next one, so the ring shows whole. The three bars are vertical scales made of two multiplied sines.
The two keys are real buttons with aria-pressed: the slash over the icon is a stroke with stroke-dasharray that draws in 0.32 seconds, the key turns light with a CSS transition and the mute badge pops onto your face with back.out.
| Name | File | Default | What it changes |
|---|---|---|---|
MEETING | script.js | Design sync | The name of the call, next to the time. |
PEOPLE | script.js | MK, JO, AR | The initials of the three people already in the call. |
STARTED | script.js | 724 | How many seconds the call has been running when the page opens. |
ACCENT | script.js | #3ee08a | The colour of the disc, the speaker ring and your face. |
SPRING | script.js | 0.9 | How long the spring that moves the faces to make room lasts. |
STAGGER | script.js | 0.07 | How many seconds between one face moving and the next. |
FLIGHT | script.js | 0.62 | How long the flight of the green disc turning into your face lasts. |
SPEAK_EVERY | script.js | 2.2 | Every how many seconds the floor passes to someone else. |
HOLD | script.js | 5.4 | How many seconds the autopilot stays in the call. |
In the bar of a video call or team work app, in a calendar next to a meeting that has already started, in a group chat when a call begins, on the page of an online event or a live class: wherever you want to show who is already there and let people in with one tap.
The pill in the call is about 330 pixels wide and fits a phone screen; a finger presses like the mouse and the call keys are 36 pixels tall. Without hover the faces do not fan out and the edge light stays in the middle.
No flights, springs or moving bars: words and keys cross-fade, the pill takes its width at once, your face appears already in place and the speaker ring jumps without a bounce.
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 14 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.