
The liquid grid
Hover, Transitions
Sharing the screen in a four-person video call: “Share screen” raises a sheet with three choices, the entire screen or a window. The chosen one grows from its thumbnail until it fills the stage, a green frame draws around it, the four people shrink into a strip at the bottom right and “Sharing Q3 deck” appears at the top. “Stop sharing” puts everyone back in the grid.
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>
<!--
"Screen share" 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>Screen share</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">
<!-- sharing the screen in a video call: pick what to share from a sheet, the chosen window grows to fill
the stage with a frame drawing around it, the people shrink into a strip, and Stop sharing puts it all back -->
<section class="ss" data-ss aria-labelledby="ss-title">
<header class="ss__head">
<span class="ss__name"><b id="ss-title">Weekly sync</b><span>Four people, 24 minutes in</span></span>
<span class="ss__badge" data-badge aria-live="polite"><span data-badgetext>Sharing</span></span>
</header>
<div class="ss__stage" data-stagebox>
<div class="ss__shared" data-shared aria-hidden="true"><span class="ss__view" data-view="screen"><span class="wf wf--screen"><i style="left:6%;top:10%;width:52%;height:58%"></i><i style="left:44%;top:30%;width:50%;height:56%"></i><i class="wf__bar" style="left:0;bottom:0;width:100%;height:9%"></i></span></span><span class="ss__view" data-view="deck"><span class="wf wf--deck"><i class="wf__line" style="left:8%;top:14%;width:46%;height:7%"></i><i class="wf__line wf__line--soft" style="left:8%;top:27%;width:30%;height:5%"></i><i class="wf__col" style="left:10%;bottom:12%;width:11%;height:26%"></i><i class="wf__col" style="left:26%;bottom:12%;width:11%;height:40%"></i><i class="wf__col wf__col--on" style="left:42%;bottom:12%;width:11%;height:54%"></i><i class="wf__col" style="left:58%;bottom:12%;width:11%;height:34%"></i><i class="wf__col" style="left:74%;bottom:12%;width:11%;height:46%"></i></span></span><span class="ss__view" data-view="map"><span class="wf wf--map"><i class="wf__line" style="left:8%;top:13%;width:38%;height:7%"></i><i class="wf__row" style="left:8%;top:32%;width:44%;height:11%"></i><i class="wf__row wf__row--on" style="left:30%;top:50%;width:52%;height:11%"></i><i class="wf__row" style="left:18%;top:68%;width:36%;height:11%"></i></span></span></div>
<span class="ss__tile" data-tile style="--c:#ffd9c7;--t:#7a2c0c"><b>A</b><span>Ana</span></span>
<span class="ss__tile" data-tile style="--c:#cfe6ff;--t:#0c3b72"><b>L</b><span>Leo</span></span>
<span class="ss__tile" data-tile style="--c:#d9f2d0;--t:#1f5a17"><b>M</b><span>Mei</span></span>
<span class="ss__tile" data-tile style="--c:#ece0ff;--t:#42207a"><b>Y</b><span>You</span></span>
<svg class="ss__frame" data-frame aria-hidden="true"><rect data-framerect pathLength="1" x="1.500" y="1.500" rx="14.500"></rect></svg>
<div class="ss__sheet" data-sheet>
<b>Share what?</b>
<div class="ss__opts">
<button class="ss__opt" type="button" data-opt="screen" data-name="Entire screen" tabindex="-1"><span class="ss__thumb" data-thumb><span class="wf wf--screen"><i style="left:6%;top:10%;width:52%;height:58%"></i><i style="left:44%;top:30%;width:50%;height:56%"></i><i class="wf__bar" style="left:0;bottom:0;width:100%;height:9%"></i></span></span><span>Entire screen</span></button>
<button class="ss__opt" type="button" data-opt="deck" data-name="Q3 deck" tabindex="-1"><span class="ss__thumb" data-thumb><span class="wf wf--deck"><i class="wf__line" style="left:8%;top:14%;width:46%;height:7%"></i><i class="wf__line wf__line--soft" style="left:8%;top:27%;width:30%;height:5%"></i><i class="wf__col" style="left:10%;bottom:12%;width:11%;height:26%"></i><i class="wf__col" style="left:26%;bottom:12%;width:11%;height:40%"></i><i class="wf__col wf__col--on" style="left:42%;bottom:12%;width:11%;height:54%"></i><i class="wf__col" style="left:58%;bottom:12%;width:11%;height:34%"></i><i class="wf__col" style="left:74%;bottom:12%;width:11%;height:46%"></i></span></span><span>Q3 deck</span></button>
<button class="ss__opt" type="button" data-opt="map" data-name="Roadmap" tabindex="-1"><span class="ss__thumb" data-thumb><span class="wf wf--map"><i class="wf__line" style="left:8%;top:13%;width:38%;height:7%"></i><i class="wf__row" style="left:8%;top:32%;width:44%;height:11%"></i><i class="wf__row wf__row--on" style="left:30%;top:50%;width:52%;height:11%"></i><i class="wf__row" style="left:18%;top:68%;width:36%;height:11%"></i></span></span><span>Roadmap</span></button>
</div>
</div>
</div>
<div class="ss__bar">
<span class="ss__ctl" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M10 3a2.500 2.500 0 0 1 2.500 2.500v4a2.500 2.500 0 0 1-5 0v-4A2.500 2.500 0 0 1 10 3ZM5 9.500a5 5 0 0 0 10 0M10 14.500V17"></path></svg></span>
<span class="ss__ctl" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M3.500 6.500h8a1.500 1.500 0 0 1 1.500 1.500v4a1.500 1.500 0 0 1-1.500 1.500h-8A1.500 1.500 0 0 1 2 12V8a1.500 1.500 0 0 1 1.500-1.500ZM13 9l4-2.500v7L13 11"></path></svg></span>
<button class="ss__share" type="button" data-share aria-expanded="false"><svg viewBox="0 0 20 20" aria-hidden="true"><path d="M3.500 4.500h13A1.500 1.500 0 0 1 18 6v7a1.500 1.500 0 0 1-1.500 1.500h-13A1.500 1.500 0 0 1 2 13V6a1.500 1.500 0 0 1 1.500-1.500ZM7 17.500h6M10 11.500V7.500M8 9.300l2-2 2 2"></path></svg><span class="ss__roll"><span data-sharelabel>Share screen</span></span></button>
</div>
</section>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.200 19.200 11l-6.300 1.600-3.300 5.900Z"></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.
36 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 “Screen share” from Animorio and fit it into my siteJust the call, the sheet of choices open, sharing. A function says where each person sits in both cases (grid or strip), in pixels worked out from the stage’s size, and is run again on resize.
The shared content is a layer as large as the stage. On choosing it starts moved and scaled onto the thumbnail’s rectangle (the difference between the two getBoundingClientRect) and goes back to x 0, y 0, scale 1.
A rounded SVG rectangle with pathLength 1 over the stage: it draws by animating stroke-dashoffset from 1 to 0 while the window finishes growing.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #3ddc84 | The colour of the frame, the tag and the button while sharing. |
GROW | script.js | 0.75 | How long the chosen window takes to grow until it fills the stage. |
FRAME | script.js | 0.9 | How long the frame takes to draw around what is being shared. |
In video call and meeting apps, online classrooms, webinars and live events, and in products with a call inside: support, telemedicine, private lessons.
The same card, as wide as the screen minus the margins: the stage is at most 176 pixels tall and less on a short screen, the three choices stay on one row and the button takes all the width left. The card fits the phone box.
No rising sheet and no growing windows: the sheet appears, and on choosing the shared window, the frame, the tag and the strip of people are in place at once. The demo’s pointer does not start.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.9 KB; the libraries: GSAP 28 KB.
Tested on 25 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.