
The star rating
Ratings, SVG, Hover
The Pick up in store button of an online shop, in satin graphite on a soft warm paper, like a Dribbble shot. Pressed, a green arc runs round the little shop front and the button checks the stores near you one at a time: the nearest is sold out and gets struck through, the next one has it and the distance rolls in the chip. Then the arc closes, the disc turns green, a check draws itself, a reflection crosses the satin and the button says where and when the order will be ready.
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>
<!--
"Store pickup button" 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 pick up in store button that finds the store</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 Pick up in store button of an online shop, satin graphite on a soft warm paper. Pressed, an arc runs round
the little shop front and the button checks the stores near you one by one: the nearest is sold out, the next
one has it. Then the arc closes, the disc turns green, a check draws itself and the button says where and when
the order will be ready -->
<div class="ps" data-wrap>
<span class="ps__floor" aria-hidden="true"></span>
<span class="ps__spill" data-spill aria-hidden="true"></span>
<button class="ps__btn" type="button" data-btn aria-label="Pick up in store">
<span class="ps__body" data-body>
<span class="ps__fill" aria-hidden="true"></span>
<span class="ps__glow" aria-hidden="true"><span class="ps__glow-light" data-glow></span></span>
<span class="ps__shine" data-shine aria-hidden="true"></span>
<span class="ps__sweep" aria-hidden="true"><span class="ps__sweep-band" data-sweep></span></span>
<span class="ps__satin" aria-hidden="true"></span>
<span class="ps__row">
<span class="ps__disc" aria-hidden="true">
<span class="ps__plate" data-plate></span>
<span class="ps__plate-done" data-plate-done></span>
<svg class="ps__ring" viewBox="0 0 44 44">
<circle class="ps__ring-track" data-track cx="22" cy="22" r="20.5"/>
<circle class="ps__ring-arc" data-arc cx="22" cy="22" r="20.5" pathLength="1"/>
</svg>
<svg class="ps__shop" data-shop viewBox="0 0 24 24">
<path class="ps__shop-wall" d="M5.6 11.4v7.4h12.8v-7.4"/>
<g data-door>
<path class="ps__shop-door" d="M10.2 18.8v-4.3h3.6v4.3"/>
</g>
<path class="ps__shop-window" data-window d="M15.2 13.6h1.4"/>
<g data-awning>
<path class="ps__shop-awning" d="M4.2 7.4L5.6 5h12.8l1.4 2.4"/>
<path class="ps__shop-scallop" d="M4.2 7.4v1a1.95 1.95 0 0 0 3.9 0 1.95 1.95 0 0 0 3.9 0 1.95 1.95 0 0 0 3.9 0 1.95 1.95 0 0 0 3.9 0v-1z"/>
<path class="ps__shop-stripe" d="M10.1 5.2l-.6 2.2M13.9 5.2l.6 2.2"/>
</g>
</svg>
<svg class="ps__check" viewBox="0 0 24 24"><path data-check pathLength="1" d="M7 12.4l3.3 3.3 6.7-7"/></svg>
</span>
<span class="ps__text" aria-hidden="true">
<span class="ps__state" data-state>
<span class="ps__title" data-t>Pick up in store</span>
<span class="ps__sub" data-s>Free · ready in 2 hours</span>
</span>
<span class="ps__state" data-state>
<span class="ps__title ps__title--busy" data-t>Checking stock</span>
<span class="ps__sub ps__sub--roll">
<span class="ps__roll" data-roll>Isola · 0.6 km</span><span class="ps__roll" data-roll></span>
</span>
</span>
<span class="ps__state" data-state>
<span class="ps__title" data-t>Reserved at Brera</span>
<span class="ps__sub" data-s>Today, 4 pm · held 3 days</span>
</span>
</span>
<span class="ps__chip" data-chipbox aria-hidden="true">
<span class="ps__chip-face" data-chip>3 nearby</span>
<span class="ps__chip-face ps__chip-face--km" data-chip><span class="ps__km" data-km>0.6 km</span><span class="ps__km" data-km></span></span>
</span>
</span>
</span>
</button>
</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.
26 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 “Store pickup button” from Animorio and fit it into my siteThe button is a single box (moved only by GSAP) with absolute layers: the graphite fill with a gradient from the top and a brushing of one pixel lines, the green light anchored to the disc, the light under the pointer driven by two CSS variables through gsap.quickTo, the reflection band and on top the inner shadows: the line of light at the top, the dark lip at the bottom.
The shop front is an SVG in three pieces moved on their own: the scalloped awning scales in height from an svgOrigin at its top on an elastic spring, the door narrows from its hinge as if swinging ajar, the small green window stretches with a back.out.
A circle with pathLength 1 and stroke-dasharray 0.24 1 runs forever round the disc with rotation and svgOrigin. When the store is found a tween takes the dasharray to 1 1, the arc closes into a full ring, then widens to 1.24 and fades.
The line under the title and the chip are two pairs of spans in the same grid cell taking turns: the old one goes up and out, the new one arrives from below with a back.out. The sold out store gets a class with line-through and a keyframed shake in x, the right one a green class.
The shop front shrinks, the green plate comes back from 0.6 on an elastic spring, the check draws itself with strokeDashoffset, the green light widens in scaleX from the disc, the light band crosses the satin with xPercent and the glow on the paper turns on; after HOLD seconds everything goes back to rest.
| Name | File | Default | What it changes |
|---|---|---|---|
FIRST | script.js | Isola | The nearest store, checked first: sold out. |
FIRST_KM | script.js | 0.6 km | Its distance. |
STORE | script.js | Brera | The store that has it. |
STORE_KM | script.js | 1.4 km | Its distance. |
LEFT | script.js | 2 | How many pieces are left in that store. |
READY | script.js | Today, 4 pm | When the order is ready. |
DAYS | script.js | 3 | How many days the store holds it. |
SCAN | script.js | 0.85 | Seconds spent on each store while checking. |
SPRING | script.js | 1 | How springy the moves are: 0.4 calm, 2 very bouncy. |
HOLD | script.js | 2.2 | How many seconds Reserved stays before going back to rest. |
AUTO | script.js | true | The button goes round by itself until someone touches it. |
On the product page or in the checkout of an online shop with physical stores: clothing, shoes, books, electronics, furniture. It says at once whether the piece is in a store near you, which one and when to pick it up, instead of a store search page.
On the phone the button is at most 88% of the screen wide and long words end with an ellipsis; there is no hover, so the light under the finger turns on at the touch and the rest is the same.
Nothing moves: the arc does not spin but breathes in opacity, the shop front, the green disc and the check swap with a fade, the words and the distances change in place and the green light grows only in strength.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.8 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.