
The inchworm menu
Menus, Hover, Transitions
Two tickets in an invented work app, on black, each with the chip of the person working on it. Rest on a name for a moment and the profile card grows out of the chip itself: the little avatar and the name fly into the card and become its own (a shared element transition), and the body opens on a spring that passes the mark and settles. Inside are the role, the real local time with its minutes rolling, the status with its icon and two actions; Copy email turns into Copied with a tick drawing itself.
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>
<!--
"Assignee card" 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 assignee card that grows out of their name in the ticket</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>
<!-- two issues in Tessel, an invented issue tracker. Resting on the assignee, the little avatar and the name
travel into a profile card that grows out of the chip itself -->
<div class="board" data-board>
<ul class="issues" aria-label="Issues in Tessel">
<li class="issue">
<svg class="issue__prio" viewBox="0 0 16 16" aria-label="High priority"><rect x="2" y="9" width="3" height="5" rx="1"></rect><rect x="6.5" y="6" width="3" height="8" rx="1"></rect><rect x="11" y="3" width="3" height="11" rx="1"></rect></svg>
<span class="issue__key">TSL-214</span>
<span class="issue__title">Empty states for billing</span>
<button class="chip" type="button" data-chip="ines" aria-haspopup="dialog" aria-expanded="false">
<span class="chip__av" data-chip-av>IV</span><span class="chip__name" data-chip-name>Ines Varga</span>
</button>
</li>
<li class="issue">
<svg class="issue__prio" viewBox="0 0 16 16" aria-label="Medium priority"><rect x="2" y="9" width="3" height="5" rx="1"></rect><rect x="6.5" y="6" width="3" height="8" rx="1"></rect><rect class="off" x="11" y="3" width="3" height="11" rx="1"></rect></svg>
<span class="issue__key">TSL-221</span>
<span class="issue__title">Retry failed webhooks</span>
<button class="chip" type="button" data-chip="kofi" aria-haspopup="dialog" aria-expanded="false">
<span class="chip__av" data-chip-av>KA</span><span class="chip__name" data-chip-name>Kofi Adjei</span>
</button>
</li>
</ul>
<div class="pop" data-pop role="dialog" aria-label="Assignee profile" aria-hidden="true">
<span class="pop__bg" data-bg aria-hidden="true"><span class="pop__sheen" data-sheen></span></span>
<div class="pop__in">
<div class="pop__head">
<span class="av" data-av><span class="av__ini" data-ini>IV</span></span>
<span class="pop__who">
<span class="pop__name" data-name>Ines Varga</span>
<span class="pop__role" data-fade data-role>Design engineer · Payments</span>
</span>
</div>
<div class="pop__rule" data-fade></div>
<p class="pop__line" data-fade>
<svg class="clock" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="5.8"></circle><path class="clock__h" data-hh d="M8 8V5.4"></path><path class="clock__m" data-mm d="M8 8V3.7"></path></svg>
<span class="time" data-time aria-live="off"></span>
<span class="pop__soft" data-zone>Lisbon · 1 h behind</span>
</p>
<p class="pop__line" data-fade>
<svg class="state" data-state-icon viewBox="0 0 16 16" aria-hidden="true"><path data-state-path d=""></path></svg>
<span data-state>Focusing</span>
<span class="pop__soft" data-until>until 4:30 pm</span>
</p>
<div class="pop__actions" data-fade>
<button class="act act--main" type="button" data-msg>
<span class="act__lab" data-msg-lab>Message</span>
</button>
<button class="act" type="button" data-copy>
<svg class="act__icon" viewBox="0 0 16 16" aria-hidden="true"><rect data-copy-a x="5.5" y="5.5" width="7.5" height="7.5" rx="1.8"></rect><path data-copy-b d="M10.5 3.6V3.4A1.4 1.4 0 0 0 9.1 2H4.4A1.4 1.4 0 0 0 3 3.4v4.7A1.4 1.4 0 0 0 4.4 9.5h.2"></path><path class="act__tick" data-tick d="M4.2 8.3 6.9 10.9 11.9 5.2"></path></svg>
<span class="act__lab" data-copy-lab>Copy email</span>
</button>
</div>
</div>
</div>
</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.
34 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 “Assignee card” from Animorio and fit it into my siteThe card sits over the chip, its avatar centred on the little one. The card’s body is a layer of its own: a GSAP timeline takes its left, top, width, height and radius from the chip’s rectangle to the full size, with back.out for a spring that passes the mark.
The chip’s avatar and name are measured, and so are the card’s; the card’s start with an x, y and scale that put them exactly over the little ones, which switch off in the same instant. Then everything goes back to zero: it looks like the same piece moving and growing.
The time comes from Intl.DateTimeFormat with the person’s time zone. Each minute digit is a column of numbers clipped by a mask; a single value in minutes sets both columns (the tens roll when the units pass 9) and the angle of the two clock hands.
Closing is the same timeline in reverse, quicker; moving to the other person waits for the way back to finish and builds a new timeline from the new chip. A small delay on opening and a grace period on closing stop flicker when the pointer crosses diagonally.
Pressed, the button squashes by 4% and comes back with elastic.out; the two shapes of the copy icon shrink away and the tick draws itself with stroke-dashoffset while the label changes, then everything goes back.
| Name | File | Default | What it changes |
|---|---|---|---|
OPEN_DELAY | script.js | 0.35 | The seconds resting on the name before the card opens. |
CLOSE_DELAY | script.js | 0.3 | The grace period in seconds before the card closes. |
GROW_TIME | script.js | 0.62 | How long the card takes to grow out of the name. |
SETTLE | script.js | 1.25 | How far the card goes past its size before settling. |
ROLL_MINUTES | script.js | 7 | How many minutes roll in the local time as the card opens. |
SHEEN | script.js | 1 | How strong the light behind the avatar is. |
LOOP | script.js | true | Repeats the drawn pointer’s walk. |
For a work app, a project manager, an issue tracker, a CRM or a team dashboard: wherever a person’s name appears and you want to know who they are, what time it is for them and whether they are free, without leaving the page.
The same animation with adapted sizes: the list is as wide as the box, below 380 pixels the ticket key hides, the card stays within the list and opens by tapping the name; tapping outside closes it.
Nothing moves: the card fades in in place while the chip fades out, the time is already right without rolling and Copied arrives with a fade.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.5 KB; the libraries: GSAP 28 KB.
Tested on 11 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.