
The star rating
Ratings, SVG, Hover
The «Find best seats» button of a concert hall's ticket site, warm dark glass on an amber black, like a Dribbble shot: on its left a small window holds the hall in miniature, the screen as an arc of light, the projector's cone and seven curved rows of seats, some already taken. On hover a warm light follows the pointer in the glass, on the rim and over the rows; pressed, the light scans the hall row by row while the number of seats checked rolls up, then stops on the two best seats of row F, which light up amber as the hall pushes in. The button says the row and the seats, holds them with a ticking timer and goes back to rest.
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>
<!--
"Find seats 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 Find seats button with the hall that lights up</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 Find seats button of a concert hall's ticket site, dark glass on a warm black. On its left a small window
holds the hall in miniature: the screen as a thin warm arc at the top, a cone of light falling from it and
seven curved rows of seats, some already taken. On hover a soft light follows the pointer inside the glass
and over the rows; pressed, the light scans the hall row by row while the number of seats checked rolls up,
then it stops on the two best free seats, which light up amber while the hall pushes in on them. The button
says the row and the seats, holds them with a ticking timer and then goes back to rest -->
<div class="fs" data-wrap>
<span class="fs__spill" data-spill aria-hidden="true"></span>
<button class="fs__btn" type="button" data-btn aria-label="Find the best 2 seats, Friday 8:30 pm, 96 dollars">
<span class="fs__glass" data-glass>
<span class="fs__body" aria-hidden="true"></span>
<span class="fs__shine" data-shine aria-hidden="true"></span>
<span class="fs__rim" aria-hidden="true"></span>
<span class="fs__sweep" aria-hidden="true"><span class="fs__sweep-band" data-sweep></span></span>
<span class="fs__row">
<span class="fs__hall" aria-hidden="true">
<svg viewBox="0 0 72 44" data-hall>
<defs>
<linearGradient id="fs-cone" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="var(--amber)" stop-opacity="0.55"/>
<stop offset="0.55" stop-color="var(--amber)" stop-opacity="0.12"/>
<stop offset="1" stop-color="var(--amber)" stop-opacity="0"/>
</linearGradient>
<filter id="fs-soft" x="-30%" y="-200%" width="160%" height="500%">
<feGaussianBlur stdDeviation="1.6"/>
</filter>
<filter id="fs-seatglow" x="-200%" y="-200%" width="500%" height="500%">
<feGaussianBlur stdDeviation="1.4"/>
</filter>
</defs>
<g data-cam>
<path class="fs__cone" data-cone d="M14 6.4Q36 3.2 58 6.4L71 44H1Z" fill="url(#fs-cone)"/>
<path class="fs__screen-glow" data-screen-glow d="M14 6.2Q36 3 58 6.2" filter="url(#fs-soft)"/>
<path class="fs__screen" d="M14 6.2Q36 3 58 6.2"/>
<g data-glows filter="url(#fs-seatglow)"></g>
<g data-seats></g>
</g>
</svg>
</span>
<span class="fs__text">
<span class="fs__stack fs__stack--title">
<span class="fs__title" data-title>Find best seats</span>
<span class="fs__title fs__title--busy" data-title>Finding seats</span>
<span class="fs__title" data-title>Row F, seats 6–7</span>
</span>
<span class="fs__stack fs__stack--sub">
<span class="fs__sub" data-sub>2 tickets · Fri 8:30 pm</span>
<span class="fs__sub" data-sub>Checked <span data-count>0</span> seats</span>
<span class="fs__sub" data-sub>Held for <span data-clock>10:00</span></span>
</span>
</span>
<span class="fs__chip">
<span class="fs__chip-face" data-chip>$96</span>
<span class="fs__chip-face" data-chip>
<svg class="fs__spin" viewBox="0 0 20 20" data-spin><circle cx="10" cy="10" r="6.5" pathLength="1"/></svg>
</span>
<span class="fs__chip-face fs__chip-face--ok" data-chip>
<svg class="fs__ok" viewBox="0 0 20 20"><path data-check pathLength="1" d="M5.6 10.4l3 3 5.8-6.4"/></svg>
<span data-total>$96</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.
30 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 “Find seats button” from Animorio and fit it into my siteThe button is one box (.fs__glass, moved only by GSAP) with four absolute layers inside: the body with a gradient from the top, a wet highlight in ::after, a feTurbulence grain as a background image and four inner shadows; the light under the pointer, a radial-gradient reading --mx and --my; the rim, a one-pixel ring made with two masks composited with exclude, showing the same gradient only on the outline; and the final reflection, a slanted band GSAP slides with xPercent.
The seven rows are SVG rectangles made in a loop: each seat sits on an arc (y = base − k·dx²) and is rotated by atan(−2k·dx) degrees, so it faces the screen. A string of zeros and ones per row says which are taken. The two chosen seats have an amber twin on top and a blurred one below, in the group with the feGaussianBlur filter.
An object S holds the intensities: hov and hx for the pointer light, scan, sr and sx for the search, pick for the chosen seats. GSAP's ticker adds up, for each seat, a gaussian on the distance from the pointer and two on the distance from the row and from the spot, and writes the opacity only if it changed. The search is a timeline taking sr from the back row to the front and then to row F, while sx swings on a sine.
At the end each amber twin starts at scale 0.4 and lands on 1 with back.out, one after the other, around its own centre (svgOrigin). The hall group scales by ZOOM around the two seats and moves up just enough to keep them in the middle of the window, with expo.out.
The title, the small line and the capsule have three faces each in the same grid cell: one leaves upwards, the next comes in from below with back.out. The seat counter is a tween on a number formatted with toLocaleString, the timer a linear tween on the seconds rounded up, so it goes down one second at a time.
| Name | File | Default | What it changes |
|---|---|---|---|
LABEL_REST | script.js | Find best seats | The words at rest. |
LABEL_BUSY | script.js | Finding seats | The words while the hall is scanned. |
LABEL_DONE | script.js | Row F, seats 6–7 | The words when the seats are found. |
DETAIL | script.js | 2 tickets · Fri 8:30 pm | The small line at rest. |
PRICE | script.js | $96 | The price in the capsule. |
SEATS | script.js | 1240 | How many seats the hall has: the number that rolls up while scanning. |
SCAN | script.js | 1.9 | Seconds the scan takes, from the back row to the chosen seats. |
ZOOM | script.js | 1.45 | How far the hall pushes in on the chosen seats. |
HOLD_MIN | script.js | 10 | Minutes the seats are held, shown on the timer. |
HOLD | script.js | 3.2 | Seconds the found state stays before going back to rest. |
SPRING | script.js | 1 | How springy the press and the seats are: 0.4 calm, 2 very bouncy. |
AUTO | script.js | true | Goes round by itself until someone touches it. |
For the main button of a ticket site for concerts, theatres, cinemas or museums, when the site picks the best seats for you: the hall in miniature shows where you will sit before you even read the row, and the timer says the seats are held for you.
On the phone the button is at most 88% of the screen wide and the words stay on one line; there is no hover, so the light under the finger turns on at the touch and the search, the seats and the timer are the same.
Nothing moves: the projector does not flicker, the light does not scan the rows and the hall does not push in; the words and the capsule swap in place with a fade, the counter and the timer still count and the two amber seats fade in.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.5 KB; the libraries: GSAP 28 KB.
Tested on 2 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.