
The inchworm menu
Menus, Hover, Transitions
The AI chat launcher in the bottom-right corner of Tidewell, a made-up site: an ink circle with a line-drawn bubble that, at rest, barely breathes, growing and settling slowly. On hover it widens to the left into the «Ask Wren» pill; on click the bubble turns away, an X draws itself and the chat panel grows out of the circle itself, with Wren writing the greeting word by word, three suggestions arriving staggered and the field to type in. The X (or Esc) closes the panel back exactly into the circle and the bubble returns. On white, with a single violet 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>
<!--
"Chat launcher" 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>Chat 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 made-up site, Tidewell, with its AI chat launcher.
The round button breathes slowly, widens into «Ask Wren» on hover, opens the chat panel
from its own circle on click, and the panel closes back exactly into the circle -->
<section class="site" data-site aria-label="Tidewell website">
<div class="site__page" aria-hidden="true">
<span class="line line--logo"></span>
<span class="line line--h"></span>
<span class="line line--h2"></span>
<span class="line"></span>
<span class="line line--s"></span>
<span class="line line--m"></span>
</div>
<div class="shell" data-shell>
<div class="panel" data-panel role="dialog" aria-label="Chat with Wren" aria-hidden="true">
<header class="panel__head" data-fade>
<span class="avatar" aria-hidden="true">
<svg viewBox="0 0 24 24"><path d="M12 5.2l1.55 4.1 4.25 1.55-4.25 1.55L12 16.5l-1.55-4.1-4.25-1.55 4.25-1.55z"/></svg>
</span>
<span class="who">
<strong>Wren</strong>
<span>Tidewell’s AI assistant</span>
</span>
</header>
<div class="panel__body">
<p class="bubble" data-bubble></p>
<div class="chips" data-chips>
<button class="chip" type="button" tabindex="-1">How does pricing work?</button>
<button class="chip" type="button" tabindex="-1">Set up my workspace</button>
<button class="chip" type="button" tabindex="-1">Talk to a person</button>
</div>
</div>
<div class="panel__foot" data-fade>
<label class="field">
<span class="sr">Message Wren</span>
<input type="text" placeholder="Ask Wren anything" tabindex="-1" data-input>
</label>
</div>
</div>
</div>
<div class="launcher" data-launcher>
<span class="tab" data-tab aria-hidden="true"><span class="tab__label" data-label>Ask Wren</span></span>
<button class="knob" type="button" data-knob aria-expanded="false" aria-label="Open chat with Wren">
<span class="knob__shine" aria-hidden="true"></span>
<svg class="icon" viewBox="0 0 24 24" aria-hidden="true">
<g data-bubbleicon>
<path class="icon__bubble" d="M7.6 5.6h8.8a2.6 2.6 0 0 1 2.6 2.6v4.6a2.6 2.6 0 0 1-2.6 2.6h-5.2L7.4 18.4v-3.1a2.6 2.6 0 0 1-2.4-2.5V8.2a2.6 2.6 0 0 1 2.6-2.6z"/>
<path class="icon__dots" d="M9.2 10.5h.01M12 10.5h.01M14.8 10.5h.01"/>
</g>
<g data-x>
<path class="icon__x" data-xa pathLength="1" d="M8.2 8.2l7.6 7.6"/>
<path class="icon__x" data-xb pathLength="1" d="M15.8 8.2l-7.6 7.6"/>
</g>
</svg>
</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 “Chat launcher” from Animorio and fit it into my siteThe circle has its own size and the icon sits in its centre with place-items: center; the «Ask Wren» pill is an element behind it, aligned right, that widens to the left. The hidden label is not in the circle’s cell, so it can never move the icon.
The panel also covers the circle’s corner and shows itself through a circular clip-path: the starting centre and radius are measured on the circle with getBoundingClientRect, the final radius is the distance to the farthest corner. On close the radius goes back to exactly the circle’s.
A box-shadow would be cut by the clip-path: the shadow is a filter: drop-shadow on the parent, which follows the clipped shape and grows with the panel.
The bubble turns 60 degrees around the viewBox centre with svgOrigin «12 12» and shrinks; the two lines of the X have pathLength 1 and draw with stroke-dashoffset, one after the other.
Each word of the greeting is a span: they come in with back.out WORD_GAP seconds apart, then the three suggestions 0.08 seconds from each other.
| Name | File | Default | What it changes |
|---|---|---|---|
BREATH | script.js | 1.035 | How much the closed circle grows while it breathes (1 = still). |
BREATH_TIME | script.js | 2.6 | Seconds of one slow breath of the closed circle. |
OPEN_TIME | script.js | 0.62 | Seconds the panel takes to grow out of the circle. |
SPRING | script.js | 0.7 | How springy the panel and the pill are (lower = more bounce). |
WORD_GAP | script.js | 0.07 | Seconds between one word of the greeting and the next. |
GREETING | script.js | "Hi, I’m Wren. Ask me anything about Tidewell: plans, setup or billing." | What Wren writes when the chat opens. |
AUTO_PAUSE | script.js | 6 | Seconds of quiet before the demo plays by itself again. |
On sites and products with an AI assistant or a support chat: the button always there in the corner, quiet until it is needed, opening the conversation without leaving the page.
Everything is in em and the size depends on both the width and the height of the window; under 520 pixels the panel takes almost the whole box. A tap works like a click; the clip circle is measured again if the window changes, even with the panel open.
No breathing, springs or movement: the panel fades in and out, the greeting and the suggestions are already in place and the icon changes without turning.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.8 KB; the libraries: GSAP 28 KB.
Tested on 28 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.
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.