
The inchworm menu
Menus, Hover, Transitions
The AI assistant launcher of Quill, a made-up notes app: a glossy ink drop with two eyes, in the bottom-right corner. At rest it hops now and then, squashing first, stretching in the air, its shadow shrinking and landing on a spring; the eyes follow the pointer and blink. On hover it rises and says «Need a hand?»; on click the drop itself stretches into the chat window, its eyes climb into the header avatar, the greeting arrives word by word with three quick replies. The X folds it back into the drop, which lands with a little hop. On white, with a single amber accent.
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>
<!--
"Hopping assistant" 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>Hopping assistant launcher</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 corner of a window of Quill, a made-up notes app, with its AI assistant: a soft ink drop with two eyes.
At rest it hops now and then and looks at the pointer; on hover it rises and says «Need a hand?»;
on click the drop itself stretches into the chat window and its eyes climb into the header -->
<section class="corner" data-corner aria-label="Quill, the notes app">
<div class="tip" data-tip aria-hidden="true"><span class="tip__text">Need a hand?</span></div>
<span class="shadow" data-shadow aria-hidden="true"></span>
<div class="buddy" data-buddy>
<span class="buddy__shine" data-shine aria-hidden="true"></span>
<div class="chat" data-chat role="dialog" aria-label="Chat with Quill" aria-hidden="true">
<header class="chat__head">
<span class="chat__ring" data-ring aria-hidden="true"></span>
<span class="chat__who" data-in>
<strong>Quill</strong>
<span>Your notes assistant</span>
</span>
<button class="chat__x" type="button" data-in data-close aria-label="Close the chat" tabindex="-1">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7.5 7.5l9 9M16.5 7.5l-9 9"/></svg>
</button>
</header>
<div class="chat__body">
<p class="msg" data-msg></p>
<div class="quick" data-quick>
<button class="quick__b" type="button" tabindex="-1">Summarize this page</button>
<button class="quick__b" type="button" tabindex="-1">Find Tuesday’s ideas</button>
<button class="quick__b" type="button" tabindex="-1">Turn it into a checklist</button>
</div>
</div>
<div class="chat__foot" data-in>
<label class="field">
<span class="sr">Message Quill</span>
<input type="text" placeholder="Ask Quill anything" tabindex="-1">
</label>
<button class="send" type="button" tabindex="-1" aria-label="Send">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 18V6.5M7 11.5l5-5 5 5"/></svg>
</button>
</div>
</div>
<div class="eyes" data-eyes aria-hidden="true">
<div class="eyes__look" data-look>
<span class="eye" data-eye></span><span class="eye" data-eye></span>
</div>
</div>
<button class="buddy__hit" type="button" data-open aria-expanded="false" aria-label="Open the Quill assistant"></button>
</div>
<p class="sr" aria-live="polite" data-live></p>
</section>
</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.
28 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 “Hopping assistant” from Animorio and fit it into my siteThe drop and the chat window are the same element, anchored to the bottom-right corner: GSAP animates width, height and border-radius from the drop’s pixels to the window’s. The chat content is laid out at its final size from the start, anchored bottom right, so nothing reflows while the drop grows.
One timeline per hop: an anticipation squash (scaleX up, scaleY down), the rise with a stretch, the shape rounding out in the air, the fall with a little stretch, the squash on impact and elastic.out to settle. The scale pivot is bottom centre, like an object resting on the floor; the shadow is a separate element that shrinks and fades while the drop is up.
The eyes have three layers: the box GSAP moves from the centre of the drop to the header avatar (x, y, scale), the look that follows the pointer with two quickTo, and each eye blinking with scaleY. So the gaze and the trip to the header never cancel each other.
The drop’s border-radius (50% 50% 46% 46% / 56% 56% 44% 44%) is rewritten in pixels, with eight values, like the window’s: GSAP only interpolates strings with the same numbers and units. Everything is measured again on resize.
Until someone touches it the demo plays alone: a fake pointer the eyes follow, two hops, the bubble, the press, the opening, a quick reply lighting up and the closing. The first real movement stops it, and after AUTO_PAUSE seconds of quiet it starts again.
| Name | File | Default | What it changes |
|---|---|---|---|
HOP_EVERY | script.js | 3.4 | Seconds between two hops while the drop waits. |
HOP_HEIGHT | script.js | 0.5 | How high a hop goes, as a share of the drop’s size. |
SQUASH | script.js | 0.16 | How much the drop squashes and stretches (0 = rigid, 0.3 = jelly). |
LOOK | script.js | 0.2 | How far the eyes move toward the pointer. |
OPEN_TIME | script.js | 0.72 | Seconds the drop takes to become the chat window. |
WORD_GAP | script.js | 0.06 | Seconds between one word of the greeting and the next. |
GREETING | script.js | "Hi! I can tidy up this page, find an idea from Tuesday or turn your notes into a checklist." | What Quill writes when the chat opens. |
AUTO_PAUSE | script.js | 6 | Seconds of quiet before the demo plays by itself again. |
On sites and apps with an AI assistant or a support chat that want a bit of character: the corner button that gets noticed without being in the way and opens the conversation out of itself.
Everything is in em and the size depends on both the width and the height of the window; the chat window takes at most the corner’s space minus the margins. A tap works like a click, and the bubble shows on the first touch before the opening.
No hops, gaze or springs: the drop stays still, the bubble fades in and the chat window fades in and out, with the greeting and the replies already in place.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.1 KB; the libraries: GSAP 28 KB.
Tested on 3 December 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.