
The elastic button
Buttons, Hover, Text
The Start engine button of a connected car app, in graphite on black, like a Dribbble shot: on the left a small rev counter in a glass well, with its ticks, a thin arc and an orange needle. Pressed, the starter turns: the needle kicks three times and the pill judders, then the engine catches, the needle flies past three thousand while the ticks light up in blue behind it, a reflection crosses the metal and the needle falls back to idle on a spring, where it keeps breathing. The button says Engine on, the cabin temperature climbs towards 21 degrees and the chip on the right counts the minutes. Pressed again, the needle drops to zero with a small bounce and the cluster goes dark.
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>
<!--
"Remote start 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 remote start button with the rev needle that settles to idle</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 Start engine button of a connected car app, in graphite on black. On the left a small rev counter in a
glass well. Pressed, the starter cranks: the needle kicks three times and the pill judders, then the engine
catches, the needle flies past three thousand and falls back to idle on a spring, the ticks light up behind it,
a reflection crosses the metal and the button says Engine on, with the cabin warming and the minutes left.
Pressed again, the needle drops to zero with a small bounce and the ticks go dark -->
<div class="rs" data-wrap>
<span class="rs__spill" data-spill aria-hidden="true"></span>
<button class="rs__btn" type="button" data-btn aria-pressed="false" aria-label="Start engine, Ardent GT, locked">
<span class="rs__body" data-body>
<span class="rs__metal" aria-hidden="true"></span>
<span class="rs__shine" data-shine aria-hidden="true"></span>
<span class="rs__sweep" aria-hidden="true"><span class="rs__sweep-band" data-sweep></span></span>
<span class="rs__row" data-row>
<span class="rs__gauge" aria-hidden="true">
<svg viewBox="0 0 44 44" data-gauge>
<defs>
<filter id="rs-glow" x="-60%" y="-60%" width="220%" height="220%">
<feGaussianBlur stdDeviation="1.1" result="b"/>
<feMerge><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
<radialGradient id="rs-glass" cx="50%" cy="38%" r="62%">
<stop offset="0" stop-color="#20242b"/>
<stop offset="1" stop-color="#08090b"/>
</radialGradient>
<linearGradient id="rs-needle" x1="0" y1="1" x2="0" y2="0">
<stop offset="0" stop-color="var(--needle)" stop-opacity="0.35"/>
<stop offset="1" stop-color="var(--needle)"/>
</linearGradient>
</defs>
<circle class="rs__well" cx="22" cy="22" r="21"/>
<path class="rs__track" data-track pathLength="1"/>
<path class="rs__lit" data-lit pathLength="1" filter="url(#rs-glow)"/>
<g data-ticks></g>
<path class="rs__glass" d="M8.5 15.5A15 15 0 0 1 35.5 15.5" />
<g data-needle>
<path class="rs__needle" d="M21.35 23.2L22 6.6l.65 16.6z" fill="url(#rs-needle)" filter="url(#rs-glow)"/>
</g>
<circle class="rs__hub" cx="22" cy="22" r="2.6"/>
<circle class="rs__hub-dot" cx="22" cy="22" r="0.9"/>
<text class="rs__unit" x="22" y="34.6">rpm</text>
</svg>
</span>
<span class="rs__text" aria-hidden="true">
<span class="rs__labels">
<span class="rs__label" data-label>Start engine</span>
<span class="rs__label rs__label--busy" data-label>Starting</span>
<span class="rs__label" data-label>Engine on</span>
<span class="rs__label" data-label>Engine off</span>
</span>
<span class="rs__subs">
<span class="rs__sub" data-sub>Ardent GT · Locked</span>
<span class="rs__sub" data-sub>Climate set to 21°</span>
<span class="rs__sub rs__sub--on" data-sub>Cabin <span class="rs__temp" data-temp>16</span>° · to 21°</span>
</span>
</span>
<span class="rs__chip" aria-hidden="true" data-chip>
<svg class="rs__power" viewBox="0 0 24 24" data-power>
<path class="rs__power-arc" pathLength="1" d="M8.2 7.4a6.6 6.6 0 1 0 7.6 0"/>
<path class="rs__power-bar" d="M12 4.6v6.4"/>
</svg>
<span class="rs__time" data-time><span data-min>10</span>:<span class="rs__sec" data-secwrap><span data-sec>00</span></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.
36 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 “Remote start button” from Animorio and fit it into my siteThe dial is a 44 by 44 SVG: the three quarter arc is a path with the large arc written by a function that turns revs into an angle from minus 135 to plus 135 degrees; the seventeen ticks are lines created in JavaScript on two radii for the major and the minor ones, and those past 80% of the scale belong to the red line. The lit arc has pathLength 1, so strokeDashoffset is simply 1 minus the revs over the scale.
Everything in the dial comes from an object R with four numbers: the base revs, the small hover lift, how lit the cluster is and the idle breath. GSAP moves those numbers (the starter kicks, the flight to the peak, the fall back on an elastic spring, the drop with bounce.out) and a single render function draws needle, arc and ticks; every tick gets its colour by mixing white with the blue from :root depending on how far the needle has passed it.
While the engine runs, the GSAP ticker adds three sines at different frequencies (6.3, 17.1 and 41 radians per second) to the revs, scaled by how lit the cluster is, and the button trembles by 0.28 pixels on a fast sine: small enough not to read as motion but to feel alive. The same ticker counts the seconds left and the cabin temperature, and rolls a digit only when it changes.
A single CSS variable --on on the button body, moved by GSAP, turns on together the blue backlight inside the metal and the glowing edge of the chip, which read it as opacity in their pseudo elements; the light on the floor is a blurred ellipse under the pill.
The dial is redrawn only when a tween marks it dirty or while the engine runs; at rest and with no pointer the ticker does nothing, and every tick changes its stroke only when the colour is really different.
| Name | File | Default | What it changes |
|---|---|---|---|
LABEL_REST | script.js | Start engine | The word at rest. |
CAR | script.js | Ardent GT | The car, in the small line at rest. |
CABIN_NOW | script.js | 16 | The cabin temperature now, in degrees. |
CABIN_SET | script.js | 21 | The temperature the climate brings the cabin to. |
RUN_MINUTES | script.js | 10 | How many minutes the engine runs before it stops by itself. |
IDLE | script.js | 0.85 | The idle, in thousands of revs. |
PEAK | script.js | 3.4 | How high the needle flies when the engine catches, in thousands. |
MAX_RPM | script.js | 8 | The top of the scale, in thousands of revs. |
CRANKS | script.js | 3 | How many kicks the starter gives before the engine catches. |
TREMOR | script.js | 1 | How much the needle breathes and the button trembles at idle. |
SPRING | script.js | 1 | How springy the needle and the press are: 0.4 calm, 2 very bouncy. |
WARM_STEP | script.js | 1.4 | Every how many seconds the cabin gains a degree (fast, so the demo shows it). |
AUTO_RUN | script.js | 5 | How many seconds the engine runs in the demo before it is switched off. |
AUTO | script.js | true | The button goes round by itself until someone touches it. |
For the main action of a connected car app, a car sharing service or the site of a car dealer showing its app: start the engine and warm the cabin from afar. It also suits any switch for a real machine started remotely (a generator, a boiler, an oven) where it matters to show that something really started and how long it stays on.
On the phone the button is at most 88% of the screen wide; there is no hover, so the light on the metal turns on at the touch and fades shortly after, and everything else (the kicks, the needle’s flight, the idle, the minutes) is the same.
Nothing moves: the starter does not kick and the pill does not judder, the needle is already at idle while the cluster fades on, it does not breathe and the button does not tremble; words, minutes and the power sign swap in place with a fade, and on switching off the needle goes back to zero while the cluster fades out.
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 9 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.