
The colour columns
Hover, SVG
A mockup under review with the comments attached to the design as pins: hovering a pin opens the bubble with who wrote what, on the side where there is room. A click on the design drops a new pin with a bounce and the comment types itself letter by letter; “Resolve” closes it into a green tick and the count rolls.
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>
<!--
"Design comment pins" 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>Design comment pins</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">
<!-- a mockup under review: the comments are pins on the design, a pin opens its bubble on hover,
a click on the design drops a new pin, Resolve closes it into a tick -->
<section class="cp" data-cp aria-label="Design review">
<header class="cp__head">
<div class="cp__titles">
<h1>Landing v4</h1>
<p class="cp__count"><span data-count>2 comments</span></p>
</div>
<button class="cp__add" type="button" data-add><svg viewBox="0 0 14 14" aria-hidden="true"><path d="M7 2.500v9M2.500 7h9"></path></svg>Comment</button>
</header>
<div class="cp__canvas" data-canvas>
<svg class="cp__mock" viewBox="0 0 312 216" preserveAspectRatio="none" aria-hidden="true">
<defs><linearGradient id="cp-g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#e4e1ff"></stop><stop offset="1" stop-color="#ffe3d6"></stop></linearGradient></defs>
<rect x="16" y="15" width="26" height="8" rx="4" fill="#17181d"></rect>
<rect x="200" y="16" width="26" height="6" rx="3" class="m"></rect><rect x="234" y="16" width="26" height="6" rx="3" class="m"></rect><rect x="268" y="13" width="28" height="12" rx="6" class="m"></rect>
<rect x="16" y="50" width="120" height="13" rx="4" fill="#17181d"></rect>
<rect x="16" y="69" width="96" height="13" rx="4" fill="#17181d"></rect>
<rect x="16" y="94" width="128" height="6" rx="3" class="m"></rect><rect x="16" y="106" width="104" height="6" rx="3" class="m"></rect>
<rect x="16" y="126" width="62" height="22" rx="11" class="a"></rect>
<rect x="86" y="126" width="54" height="22" rx="11" class="o"></rect>
<rect x="166" y="44" width="130" height="112" rx="14" fill="url(#cp-g)"></rect>
<circle cx="262" cy="74" r="13" fill="#ffffff" opacity="0.7"></circle>
<path d="M166 142l34-36 26 24 24-18 46 40v-10a14 14 0 0 1-14 14H180a14 14 0 0 1-14-14Z" fill="#ffffff" opacity="0.55"></path>
<rect x="16" y="176" width="86" height="26" rx="8" class="s"></rect><rect x="113" y="176" width="86" height="26" rx="8" class="s"></rect><rect x="210" y="176" width="86" height="26" rx="8" class="s"></rect>
</svg>
<span class="cp__ripple" data-ripple aria-hidden="true"></span>
<div class="cp__bubble" data-bubble role="status">
<p class="cp__who"><b data-who>Mara K.</b><span data-when>2 h</span></p>
<p class="cp__msg"><span data-msg></span></p>
<button class="cp__resolve" type="button" data-resolve><svg viewBox="0 0 14 14" aria-hidden="true"><path d="M3 7.300l2.700 2.700L11 4.300"></path></svg>Resolve</button>
</div>
</div>
<span class="cp__say" data-say aria-live="polite"></span>
</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.
18 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 “Design comment pins” from Animorio and fit it into my siteEach pin is a button placed with left and top as percentages of the card: its point is the bottom left corner, and it scales from there (transform-origin 0% 100%).
There is only one: on opening it takes the pin’s texts, measures where there is room (right, left, above) and grows on a spring from the spot nearest the pin.
It drops with bounce.out from 40 pixels higher, settles in scale and a ring widens on the spot; then a tween on a number types the comment one letter at a time.
The initials become a tick drawn with the dashoffset, the colour goes green with a transition and the pin scales to zero towards its point.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #6a5cf6 | The colour of the pins and of the mockup’s button. |
DONE | script.js | #1fb86c | The colour of the resolved pin. |
AUTHOR | script.js | Ada R. | Who writes the new comments: the initials go into the pin. |
NOTE | script.js | Three cards feel crowded on mobile. | The new comment that types itself in the demo. |
TYPE | script.js | 22 | How many letters per second it types. |
SPRING | script.js | 1 | How much the pins and the bubble bounce: 0.3 = a little, 2 = a lot. |
LOOP | script.js | true | Left alone, the demo’s pointer reads the two comments, leaves a new one and resolves it. |
In tools where a piece of work is reviewed together: mockups and prototypes, page previews, PDFs, photos, floor plans, videos paused on a frame. On a studio’s or an agency’s site, to show how work with clients goes.
The same card, 312 pixels wide and 216 tall at most: the pins follow the design because they are in percentages, the bubble opens on tap and moves to the side where there is room.
The pins appear in place without dropping, the bubble fades in, the new comment is already written and the resolved pin vanishes at once. The demo does not move by itself.
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 23 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.