
The inchworm menu
Menus, Hover, Transitions
The empty state of the Projects page of a made-up work app, Fieldnote: a stack of three ghost cards, only thin outlines and grey lines, tilted a few degrees, that fan open by a breath on hover; below, No projects yet, one line and the black Create project pill whose + turns 90° on its own centre. On click the button squeezes, the copy fades, the top card takes a full border, a light sweeps over it, the violet bar lights up and the name Untitled project types itself; then it drops on a spring into place as the first card of the grid, the count rolls from 0 to 1, the dashed New project slot appears beside it and the toast with Undo rises at the bottom, which brings the empty state back. Minimal style.
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>
<!--
"Empty projects state" 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>Empty projects state</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 empty state of a made-up work app, Fieldnote: three ghost cards in a small stack, a title, a line and
Create project. Clicked, the top card fills in and settles as the first real card of the grid; Undo brings
the empty state back -->
<section class="pane" data-pane aria-labelledby="pane-t">
<header class="pane__head">
<h2 class="pane__t" id="pane-t">Projects</h2>
<span class="badge" aria-hidden="true"><span class="badge__roll" data-roll><span>0</span><span>1</span></span></span>
<span class="pane__ws">Fieldnote</span>
</header>
<div class="pane__body" data-body>
<!-- the dashed slot that appears next to the first project -->
<button class="slot" type="button" data-slot tabindex="-1" aria-hidden="true">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 3.5v9M3.5 8h9"></path></svg>
<span>New project</span>
</button>
<!-- the stack: three cards; the top one becomes the project -->
<div class="pc pc--back" data-card="back" aria-hidden="true"><span class="pc__g pc__g--a"></span><span class="pc__g pc__g--b"></span><span class="pc__g pc__g--c"></span></div>
<div class="pc pc--mid" data-card="mid" aria-hidden="true"><span class="pc__g pc__g--a"></span><span class="pc__g pc__g--b"></span><span class="pc__g pc__g--c"></span></div>
<article class="pc pc--top" data-card="top" aria-label="Untitled project">
<span class="pc__edge" data-edge aria-hidden="true"></span>
<span class="pc__shine" data-shine aria-hidden="true"></span>
<div class="pc__ghost" data-ghost aria-hidden="true"><span class="pc__g pc__g--a"></span><span class="pc__g pc__g--b"></span><span class="pc__g pc__g--c"></span></div>
<div class="pc__real" data-real>
<span class="pc__bar" data-bar aria-hidden="true"></span>
<p class="pc__name"><span data-name></span><span class="pc__caret" data-caret aria-hidden="true"></span></p>
<p class="pc__meta" data-meta>Just now · 0 tasks</p>
<div class="pc__foot" data-foot>
<span class="pc__who" aria-hidden="true">MV</span>
<span class="pc__tag">Draft</span>
</div>
</div>
</article>
<div class="copy" data-copy>
<div class="copy__room" data-room aria-hidden="true"></div>
<h3 class="copy__t" data-ct>No projects yet</h3>
<p class="copy__s" data-cs>Projects keep your files, tasks and people in one place.</p>
<button class="make" type="button" data-make data-autoclic>
<span class="make__bg" data-make-bg aria-hidden="true"></span>
<svg class="make__plus" data-plus viewBox="0 0 16 16" aria-hidden="true"><path d="M8 3v10M3 8h10"></path></svg>
<span class="make__label">Create project</span>
</button>
</div>
<div class="toast" data-toast role="status" aria-hidden="true">
<svg class="toast__ok" viewBox="0 0 16 16" aria-hidden="true"><path d="M3.6 8.4l2.8 2.7 6-6.4" pathLength="1" data-ok></path></svg>
<span>Project created</span>
<button class="toast__undo" type="button" data-undo tabindex="-1">Undo</button>
</div>
</div>
</section>
<p class="sr" aria-live="polite" data-live></p>
</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.
30 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 “Empty projects state” from Animorio and fit it into my siteA card is half the grid minus the gap between the two; its height follows the ratio but stays between 100 pixels and a quarter of the window height. The script writes them to --cw and --ch on the panel and recomputes the stack and grid positions on resize.
The three cards are absolute in the same corner: GSAP puts them in the middle with x, y and rotation (the stack) and takes the top one to the corner of the grid with back.out. The stack’s space is kept by an empty block in the copy column, which is measured to find where it is.
Each card has two poses, at rest and open, worked out by the same function: hover goes from one to the other on a short spring with a small delay per card, so they open like cards in a hand.
The whole svg turns with transformOrigin 50% 50%, never svgOrigin, so the + spins on itself and not in a circle.
The preview moves on with gsap.delayedCall: hover, click, the card is born, pause, Undo, and again; the first real touch stops it and the action under way finishes by itself.
| Name | File | Default | What it changes |
|---|---|---|---|
PROJECT_NAME | script.js | Untitled project | The name typed into the new card. |
TILT | script.js | 1 | How tilted the stacked cards are. |
FAN | script.js | 1 | How far the fan opens on hover. |
TYPE_SPEED | script.js | 0.045 | Seconds per letter of the name. |
LAND_TIME | script.js | 0.75 | How long the card takes to drop into place. |
SPRING | script.js | 1.3 | How far the card overshoots its place and comes back. |
GAP | script.js | 12 | The gap between grid cards, in pixels. |
For the first empty page of a work app, a back office or a dashboard (projects, folders, boards, clients), or for any list that starts from zero and wants to invite the first item.
The panel takes the width with a margin, the cards are sized on half the grid and stay low on height too, the line wraps balanced; everything fits the phone box. Touch does the click, the fan is for the mouse.
No fan and no springs: the copy and the stack fade away, the card appears already filled in its place with the toast, and Undo does the reverse with a fade. The self-running preview does not start.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.1 KB; the libraries: GSAP 28 KB.
Tested on 21 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.