
The elastic button
Buttons, Hover, Text
The card of a meeting about to start, on very light grey, in the style of clean product interface pieces: the row of invitees is grey and whoever enters lights up, in their colour, with a thin ring drawing itself round. Pressed, «Join meeting» checks the camera and the mic, with icons that draw themselves, a spinning ring and voice bars, then turns into a green «Joined»: your avatar arrives at the end of the row and the row settles back on a spring.
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 meeting 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 meeting button with avatars lighting up</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" data-stage>
<!-- the card of a meeting about to start in an invented video app: who is already in lights up one by one,
Join meeting checks camera and mic, then your own avatar joins the row -->
<section class="meet" data-card aria-label="Design review meeting">
<div class="meet__in" data-in>
<div class="meet__head">
<span class="meet__mark" aria-hidden="true">
<svg viewBox="0 0 24 24"><rect x="3.5" y="5" width="17" height="15" rx="3"></rect><path d="M3.5 9.5h17M8 3v4M16 3v4"></path></svg>
</span>
<div class="meet__text">
<p class="meet__app" data-app>Pebbletalk</p>
<p class="meet__name" data-name>Design review</p>
<p class="meet__time">Thu, Oct 30 · 2:00–2:30 PM</p>
</div>
<span class="tag" data-tag><span class="roll" data-tag-roll><span>Starts in 2 min</span></span></span>
</div>
<div class="people">
<div class="stack" data-stack aria-label="People in the call"></div>
<p class="caption"><span class="roll" data-caption><span>1 of 5 already in</span></span></p>
</div>
<div class="actions">
<button class="join" type="button" data-join>
<span class="join__icon" aria-hidden="true">
<svg class="ic ic--cam" data-ic-cam viewBox="0 0 24 24"><rect x="3" y="6.5" width="12.5" height="11" rx="2.6" pathLength="1"></rect><path d="M15.5 10.6 21 7.8v8.4l-5.5-2.8" pathLength="1"></path></svg>
<svg class="ic ic--mic" data-ic-mic viewBox="0 0 24 24"><rect x="9" y="3.2" width="6" height="11" rx="3" pathLength="1"></rect><path d="M5.6 11.4a6.4 6.4 0 0 0 12.8 0M12 17.8v3" pathLength="1"></path></svg>
<svg class="ic ic--ok" data-ic-ok viewBox="0 0 24 24"><path d="M5 12.6 9.6 17 19 7.4" pathLength="1"></path></svg>
<svg class="spin" data-spin viewBox="0 0 24 24"><circle cx="12" cy="12" r="10.5" pathLength="1"></circle></svg>
</span>
<span class="roll join__label" data-label><span>Join meeting</span></span>
<span class="level" data-level aria-hidden="true"><i></i><i></i><i></i><i></i></span>
</button>
<button class="leave" type="button" data-leave tabindex="-1">Leave</button>
</div>
<p class="note"><span class="roll" data-note><span>Camera and mic are checked before you join.</span></span></p>
</div>
</section>
<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.
23 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 meeting button” from Animorio and fit it into my siteEach avatar has the coloured circle and above it a grey circle with the same initials: entering means fading the grey, bouncing the colour and drawing an SVG ring with pathLength 1, from stroke-dashoffset 1 to 0.
Each avatar sits at x = index times step and the row is as wide as the last one plus 42 pixels: when you arrive the step grows by 6 pixels and comes back with elastic.out, and the row breathes.
Each line of text is a grid with a single cell: the new label comes in from below with back.out while the old one leaves upwards, and the cell takes the width of the widest.
A timeline calls the steps at fixed times: the camera redrawing itself with the spinning ring, the mic with bars changing height at random, then the check and the green.
| Name | File | Default | What it changes |
|---|---|---|---|
MEETING | script.js | Design review | The meeting name at the top of the card. |
ACCENT | script.js | #2563eb | The colour of your avatar’s ring when you enter. |
READY | script.js | #16a34a | The green of Joined and of the rings of whoever enters. |
CHECK_TIME | script.js | 1.1 | The seconds of each check, camera and mic. |
STEP | script.js | 27 | The pixels between one avatar and the next in the row. |
SPRING | script.js | 0.75 | The seconds of the spring the row settles back with. |
For a video call app, a work calendar, a team dashboard, a webinar page: anywhere a meeting is about to start and you want to see who is already there.
The card takes 92 per cent of the width up to 372 pixels; below 360 pixels the padding and the row caption get tighter. Touch does what a click does.
No springs, bounces or spinning rings: whoever enters takes their colour with a fade, the labels change with a fade, your avatar appears in its place and the drawn pointer is hidden.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.0 KB; the libraries: GSAP 28 KB.
Tested on 28 October 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.