Skip to content
animorio
IT
Back to the library

Flick stickers

Physics, HoverGSAP, CSS onlyMediumCompressed weight: Demo 5.9 KBGSAP + Inertia 31 KBFreeDownload the zip

Quireful, a made-up book club, with five pill stickers stuck around a round stamp, «Why Quireful?»: they pop in spinning with a bounce and, brushed fast with the mouse, they are shoved the way you hit them and spin according to where you caught them, then settle back. On paper, one vermilion accent in five tones. Minimal style. From the «Why Aardvark?» stickers of the Aardvark Book Club site, Awwwards Site of the Day on 30/8/2026.

Rebuilt from scratch studying aardvarkbookclub.com by Future Three, Dylan Brouwer: the idea is theirs; code, copy and images are ours. Read how it’s made

The code

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>
<!--
  "Flick stickers" 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>Flick stickers</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/bricolage-grotesque@5.3.0/index.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/bricolage-grotesque@5.3.0/wdth.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <main class="stage" data-stage>
    <p class="brand">Quireful <span>Book Club</span></p>

    <!-- the stamp in the middle: a ring, the question written along it, a folded page inside -->
    <div class="stamp" data-stamp aria-hidden="true">
      <svg viewBox="0 0 200 200">
        <defs>
          <path id="arco" d="M100,100 m-74,0 a74,74 0 1,1 148,0 a74,74 0 1,1 -148,0"/>
        </defs>
        <circle class="stamp__ring" cx="100" cy="100" r="92"/>
        <circle class="stamp__ring stamp__ring--thin" cx="100" cy="100" r="58"/>
        <text class="stamp__text"><textPath href="#arco" startOffset="0" textLength="458" lengthAdjust="spacing">Why Quireful? &#160; Why Quireful? &#160;</textPath></text>
        <g class="stamp__book" data-book>
          <path d="M100,86 C90,80 78,79 68,81 L68,118 C78,116 90,117 100,123 Z"/>
          <path d="M100,86 C110,80 122,79 132,81 L132,118 C122,116 110,117 100,123 Z"/>
          <path class="stamp__spine" d="M100,86 L100,123"/>
        </g>
      </svg>
    </div>

    <h1 class="sr">Why Quireful? Free shipping, hardcovers only, any genre, cancel anytime, picked by readers.</h1>

    <!-- each sticker: the place keeps the resting turn, the body is what the push throws, the face is the pill -->
    <ul class="stickers" data-stickers aria-hidden="true">
      <li class="place" style="--l: 4%;  --t: 18%; --r: -7deg;"><span class="shadow"></span><span class="body" data-body><span class="face tone-1">Free shipping</span></span></li>
      <li class="place" style="--l: 55%; --t: 30%; --r: 5deg;"><span class="shadow"></span><span class="body" data-body><span class="face tone-2">Any genre</span></span></li>
      <li class="place" style="--l: 9%;  --t: 54%; --r: 4deg;"><span class="shadow"></span><span class="body" data-body><span class="face tone-3">Hardcovers only</span></span></li>
      <li class="place" style="--l: 50%; --t: 66%; --r: -5deg;"><span class="shadow"></span><span class="body" data-body><span class="face tone-4">Cancel anytime</span></span></li>
      <li class="place" style="--l: 16%; --t: 80%; --r: -2deg;"><span class="shadow"></span><span class="body" data-body><span class="face tone-5">Picked by readers</span></span></li>
    </ul>

    <p class="hint" data-hint>Flick a sticker with the mouse.</p>
  </main>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/InertiaPlugin.min.js"></script>
  <script src="script.js"></script>
</body>
</html>

Playground

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.

28 values to change

Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI

Or ask your AI assistant for it

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 “Flick stickers” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

In the middle a round stamp with the question «Why Quireful?» written along the ring and an open book that breathes slowly. Around it, five pill stickers stuck a little crooked: Free shipping, Any genre, Hardcovers only, Cancel anytime, Picked by readers. At the start they pop out one after the other, spinning, and settle with a bounce. Brush one fast with the mouse and it is shoved the way the pointer was going, further the faster it was, and it spins if you caught it near an end; then it slows down and lands exactly back in its place. While it flies it lifts off the paper: it swells a touch, the shadow stays behind, wider and fainter, a sheen slides across the pill, and if it runs into another one it gives it a small knock. With a finger you drag it and throw it.

How it works

Three layers per sticker

Each sticker is a place with its resting turn in CSS, a body GSAP shoves and spins, and the pill inside; the shadow sits beside the body, on the paper, and does not follow it.

The pointer's speed

A mousemove on the stage keeps the movement of the last frame, once per requestAnimationFrame: pixels per frame, velX and velY.

The twist of the hit

On mouseenter it measures where the pointer came in from the centre (ox, oy); the twist is ox × velY − oy × velX divided by the distance from the centre: caught at an end it spins, caught in the middle it only moves away.

One shove with InertiaPlugin

gsap.to with inertia on x and y (speed × 25, at most 1080 px/s) and on rotation (twist × 15, at most 60°/s), all with end 0 and resistance 160: it leaves fast, slows down and comes back to its place by itself.

The flight, frame by frame

In the GSAP ticker the distance from its place lifts the pill (scale up to 1.05), widens and fades the shadow left behind, moves the sheen with the turn and, if two stickers touch, gives the second one a small push.

Values to change

NameFileDefaultWhat it changes
PUSHscript.js25How much of the pointer's speed goes into the shove (the site uses 25).
MAX_PUSHscript.js1080The strongest shove, in pixels per second (the site uses 1080).
SPINscript.js15How much of the twist goes into the spin (the site uses 15).
MAX_SPINscript.js60The fastest spin, in degrees per second (the site uses 60).
RESISTANCEscript.js160How soon the sticker slows down and settles (the site uses 160).
POPscript.js0.85Seconds each sticker takes to pop in (the site uses .85).
STAGGERscript.js0.072Seconds between one sticker and the next as they pop in (the site uses .072).
LIFTscript.js1How much the sticker lifts off the paper while it flies: shadow and size.
BUMPscript.js0.35How hard a flying sticker knocks another one (0: never).
AUTOscript.js1.7Seconds between the pretend flicks when nobody moves the mouse.

Try them in the Playground

When to use it

For the «why choose us» section of a book club, a subscription, a shop or a playful brand: the benefits become stickers to touch, and whoever passes with the mouse plays with them without meaning to.

On phones

On a phone the stamp and the stickers are sized on height and width together and all stay inside the frame. With a finger you drag a sticker and let it go: it leaves at the finger's speed and comes back to its place.

With reduced motion

No shoves, spins or bounces: the stickers and the stamp fade in and on hover only the colour changes, slowly.

Pitfalls

  • The resting turn lives in the place's CSS and the shove in the body inside: GSAP's transform would wipe out the class's rotation.
  • The speed is read once per frame, not on every mousemove: with a 1000 Hz mouse each move is one pixel and the shove would never start.
  • mouseenter also fires on touch: with a finger use pointerdown, setPointerCapture and the drag speed, and the hover only with (hover: hover) and (pointer: fine).
  • InertiaPlugin is registered on its own: without gsap.registerPlugin(InertiaPlugin) the inertia key is silently ignored.

Libraries

GSAP 3.15.0, InertiaPlugin 3.15.0, Bricolage Grotesque (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 5.9 KB; the libraries: GSAP + Inertia 31 KB.

Testing

Tested on 25 November 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

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.

All animations