Skip to content
animorio
IT
All components

Remote start button

Buttons, HoverGSAP, CSS onlyMediumCompressed weight: Demo 9.5 KBGSAP 28 KBFreeDownload the zip

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.

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>
<!--
  "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>

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.

36 values to change

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 “Remote start button” 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

On a black page, alone, a pill button 60 pixels tall in graphite: very thin lines in the metal, a slanted band of light, the top edge catching the light in one pixel. On the left, sunk in a dark glass well, a small rev counter: seventeen ticks on three quarters of a circle, the last ones in the red of the red line, a thin arc, the orange needle with its hub and below, tiny, rpm. In the middle Start engine and below, small, «Ardent GT · Locked»; on the right a sunken chip with the power sign drawn in a stroke. With the mouse over it a stretched light follows the pointer on the metal and the needle lifts by a hair on a spring, as when the cluster wakes up. Pressed, the button sinks by a pixel and springs back, the word becomes Starting with a band of light crossing it and below «Climate set to 21°». The starter turns: the needle kicks three times, a little higher each time, and at every kick the pill judders sideways. Then the engine catches: the needle flies past three thousand, the ticks light up in blue behind it and the arc fills with a glow, the button swells by a hair, a bluish reflection crosses the metal, a blue light comes on on the floor under the button and the needle falls back to idle on a spring with two swings. At idle the needle breathes with three overlapping waves and the pill trembles by a fraction of a pixel. The word becomes Engine on, below «Cabin 16° · to 21°» with the temperature climbing one degree at a time, and the power sign spins away and leaves its place to the minutes, 10:00, with the seconds rolling down; the chip takes a blue edge. Pressed again, the needle gives a last kick, drops to zero, bounces once and stops, the button sinks by a pixel as when the engine dies, the ticks and the light on the floor go out, the word says Engine off and then Start engine again. Until someone touches it, it goes round by itself.

How it works

A rev counter drawn by the code

The 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.

One object for the engine

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.

The breathing idle

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.

The on state in CSS

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.

It draws only when needed

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.

Values to change

NameFileDefaultWhat it changes
LABEL_RESTscript.jsStart engineThe word at rest.
CARscript.jsArdent GTThe car, in the small line at rest.
CABIN_NOWscript.js16The cabin temperature now, in degrees.
CABIN_SETscript.js21The temperature the climate brings the cabin to.
RUN_MINUTESscript.js10How many minutes the engine runs before it stops by itself.
IDLEscript.js0.85The idle, in thousands of revs.
PEAKscript.js3.4How high the needle flies when the engine catches, in thousands.
MAX_RPMscript.js8The top of the scale, in thousands of revs.
CRANKSscript.js3How many kicks the starter gives before the engine catches.
TREMORscript.js1How much the needle breathes and the button trembles at idle.
SPRINGscript.js1How springy the needle and the press are: 0.4 calm, 2 very bouncy.
WARM_STEPscript.js1.4Every how many seconds the cabin gains a degree (fast, so the demo shows it).
AUTO_RUNscript.js5How many seconds the engine runs in the demo before it is switched off.
AUTOscript.jstrueThe button goes round by itself until someone touches it.

Try them in the Playground

When to use 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 phones

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.

With reduced motion

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.

Pitfalls

  • The idle tremor on the button body fought with the press springs, which also move y: the tremor sits on the button element and the springs on the body inside it.
  • Redrawing the seventeen ticks on every frame rewrote the style even when nothing changed: every tick remembers its last colour and rewrites it only when it differs, and at rest the ticker does not redraw.
  • A constant called top shadowed window.top: renamed, as the rule on window property names wants.

Libraries

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.

Testing

Tested on 9 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 components