
Logo loader
Transitions, SVG, Text
A text animation inside a real interface piece: the summary card of Quire, an invented AI reading app, in frosted glass on a near black page. Pick a length, Full, Brief or Gist: a light runs along the top edge and sweeps across the words while the AI reads, the phrases it keeps light up one after the other behind a violet glow and take a touch of weight, the others dim and blur. Then the dropped words fade where they stood and the kept ones close ranks word by word, each passing its place by a pixel and settling; a few change form on the way (three becomes Three, hiring becomes hire). The card shortens below a header that never moves, the word count rolls and Copy copies what is left.
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>
<!--
"AI summary 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 AI summary card that shortens itself keeping the key phrases</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>
<!-- the summary card of Quire, an invented AI reading app. Pick a length (Full, Brief, Gist): the AI marks the
phrases it keeps with a soft violet light, the other words dim and blur away, and the kept ones close ranks
word by word on a spring. The word count rolls, the copy button copies what is left -->
<div class="wrap" data-wrap>
<article class="card" data-card>
<span class="card__rim" aria-hidden="true"></span>
<span class="card__edge" aria-hidden="true"><span class="card__beam" data-beam></span></span>
<header class="card__head">
<span class="card__icon" aria-hidden="true">
<svg viewBox="0 0 20 20" data-spark>
<path class="card__spark" d="M10 2.6c.5 3.6 1.9 5 5.4 5.4-3.5.5-4.9 1.9-5.4 5.4-.5-3.5-1.9-4.9-5.4-5.4 3.5-.4 4.9-1.8 5.4-5.4z"/>
<path class="card__spark card__spark--small" d="M15.4 12.6c.2 1.4.8 2 2.2 2.2-1.4.2-2 .8-2.2 2.2-.2-1.4-.8-2-2.2-2.2 1.4-.2 2-.8 2.2-2.2z"/>
</svg>
</span>
<span class="card__titles">
<span class="card__title">Summary</span>
<span class="card__sub">Quire reads it for you</span>
</span>
<span class="card__count" aria-hidden="true">
<span class="roll" data-roll></span>
<span class="card__count-unit">words</span>
</span>
</header>
<div class="seg" role="group" aria-label="Summary length" data-seg>
<span class="seg__thumb" data-thumb aria-hidden="true"></span>
<button class="seg__btn" type="button" data-level="0" aria-pressed="true"><span class="seg__label">Full</span></button>
<button class="seg__btn" type="button" data-level="1" aria-pressed="false"><span class="seg__label">Brief</span></button>
<button class="seg__btn" type="button" data-level="2" aria-pressed="false"><span class="seg__label">Gist</span></button>
</div>
<div class="sum" data-sum>
<p class="sum__text" data-text></p>
<span class="sum__ghosts" data-ghosts aria-hidden="true"></span>
<span class="sum__glint" data-glint aria-hidden="true"></span>
</div>
<footer class="card__foot">
<span class="card__source">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 1.8h5.2L12.6 5v9.2H4z"/><path d="M9 1.8V5.2h3.6M6 8.2h4.6M6 10.6h3.4"/></svg>
<span class="card__source-name">Q3 field report</span>
<span class="card__source-meta">12 pages</span>
</span>
<button class="copy" type="button" data-copy>
<span class="copy__face" data-copy-face>
<svg class="copy__icon" viewBox="0 0 16 16" aria-hidden="true">
<g data-copy-sheets>
<rect x="5.4" y="5.4" width="8" height="8.6" rx="2"/>
<path d="M10.6 3.2V3a1.6 1.6 0 0 0-1.6-1.6H4A1.6 1.6 0 0 0 2.4 3v6.4A1.6 1.6 0 0 0 4 11h.2"/>
</g>
<path class="copy__check" data-copy-check pathLength="1" d="M3.4 8.6l3 3 6.2-6.8"/>
</svg>
<span class="copy__words" data-copy-words>Copy</span>
</span>
</button>
</footer>
</article>
</div>
<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.
25 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 “AI summary card” from Animorio and fit it into my siteThe text is a list of words, each with its form in Full, Brief and Gist, or null when that length leaves it out. So a word can stay the same, go, appear (‘up’ only exists in Gist) or change form (hiring, hire): the summary is written as data and the script works out who stays, who goes and who arrives.
The first beat moves nothing: the words that stay light up their violet band (a child of the word, scaleX from the left) and take weight through the --wg variable on the font's wght axis, in reading order; the ones that go drop to a third and blur. You see what the AI will keep before it does.
On the second beat the script measures where each word sits, puts the dropped words in a layer of ghosts at the same spot, applies the new length and measures again. Each kept word starts from its old place with x and y and goes back to zero with back.out (OVERSHOOT), staggered by STAGGER: it wraps and climbs lines as if it had really moved.
The card is centred on its tallest height (the full text), measured at start and on every resize: when it shortens, only the bottom moves and the header stays put. The summary's height goes from the old value to the new one with a hair of bounce, then turns back to auto.
The word count is made of columns from zero to nine that roll with a small bounce, one digit after the other. Copy really copies the summary that is left, gives under the finger, comes back on an elastic spring and swaps its two pages for a drawn check.
| Name | File | Default | What it changes |
|---|---|---|---|
STAGGER | script.js | 0.014 | The beat between one word and the next, in seconds. |
BLUR | script.js | 6 | How much the dropped words blur as they go, in pixels. |
OVERSHOOT | script.js | 1.25 | How far the kept words pass their new place before settling. |
HIGHLIGHT | script.js | 0.9 | How strong the violet light behind the key phrases is (0 = none). |
HOLD | script.js | 0.9 | How long the highlights stay after the words have moved, in seconds. |
SPEED | script.js | 1 | 2 = everything twice as fast, 0.5 = half. |
LOOP | script.js | true | Repeats the walk on its own. |
For an AI app that summarizes documents, emails, articles or meetings, for the recap at the top of a long blog or magazine article, for the notes in a dashboard: when you want to show what the AI kept instead of swapping the text in one go.
The same animation with adapted sizes: the card is as wide as the screen minus the margins, the text is sized on both width and height, the inner spacing shrinks with the height and under 360 pixels the page count leaves the footer; the header stays still there too.
Nothing moves: changing length the text fades out and comes back already in its new form, the pill and the count change without sliding, Copy changes its label and check with a fade.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 10 KB; the libraries: GSAP 28 KB.
Tested on 3 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.