Skip to content
animorio
IT
All components

Watch live button

Buttons, Hover, SVGGSAP, CSS onlyMediumCompressed weight: Demo 9.9 KBGSAP 28 KBFreeDownload the zip

The Watch live button of a sports streaming app, in graphite lacquer with a steel edge in a dark studio, like a Dribbble shot. The live sign is not a dot: it is a small meter of four bars beside the word LIVE, moving like the noise of the stadium, and on the right the audience rolls up digit by digit like an odometer. Pressed, the play triangle gives way to a steel arc buffering around the disc; when the stream opens the disc fills with a dancing waveform, a red light crosses the button and the audience counts one more: you.

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>
<!--
  "Watch live 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 Watch live button with the rising audience</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 Watch live button of a sports streaming app, graphite lacquer with a steel edge in a dark studio. The live
         sign is a little level meter of four bars next to the word LIVE, moving like the sound of the stadium; on the
         right the audience rolls up like an odometer. Pressed, the play sign gives way to a buffering arc while it
         connects; when the stream opens the disc fills with a dancing waveform, a red light spreads through the
         button and the audience counts one more: you. Pressed again, the stream closes -->
    <div class="wl" data-wrap>
      <span class="wl__spill" data-spill aria-hidden="true"></span>
      <button class="wl__btn" type="button" data-btn aria-label="Watch live: HAR 2–1 NOR">
        <span class="wl__body" data-body>
          <span class="wl__fill" aria-hidden="true"></span>
          <span class="wl__glow" aria-hidden="true"><span class="wl__glow-light" data-glow></span></span>
          <span class="wl__shine" data-shine aria-hidden="true"></span>
          <span class="wl__sweep" aria-hidden="true"><span class="wl__sweep-band" data-sweep></span></span>
          <span class="wl__edge" aria-hidden="true"></span>
          <span class="wl__row">
            <span class="wl__disc" data-disc aria-hidden="true">
              <span class="wl__plate" data-plate></span>
              <svg class="wl__ring" viewBox="0 0 44 44">
                <circle class="wl__ring-track" data-track cx="22" cy="22" r="21"/>
                <circle class="wl__ring-arc" data-arc cx="22" cy="22" r="21" pathLength="1"/>
              </svg>
              <svg class="wl__play" data-play viewBox="0 0 24 24">
                <path d="M9.2 7.1v9.8c0 .8.9 1.3 1.6.9l7.7-4.9c.6-.4.6-1.4 0-1.8l-7.7-4.9c-.7-.4-1.6.1-1.6.9z"/>
              </svg>
              <svg class="wl__wave" data-wave viewBox="0 0 24 24">
                <rect data-bar="wave" x="5.4" y="9" width="2" height="6" rx="1"/>
                <rect data-bar="wave" x="8.7" y="9" width="2" height="6" rx="1"/>
                <rect data-bar="wave" x="12" y="9" width="2" height="6" rx="1"/>
                <rect data-bar="wave" x="15.3" y="9" width="2" height="6" rx="1"/>
                <rect data-bar="wave" x="18.6" y="9" width="2" height="6" rx="1"/>
              </svg>
            </span>
            <span class="wl__text" aria-hidden="true">
              <span class="wl__state" data-state>
                <span class="wl__title" data-t>Watch live</span>
                <span class="wl__sub">
                  <span class="wl__tag"><svg class="wl__meter" viewBox="0 0 11 10"><rect data-bar="tag" x="0" y="4" width="1.8" height="6" rx="0.9"/><rect data-bar="tag" x="3" y="4" width="1.8" height="6" rx="0.9"/><rect data-bar="tag" x="6" y="4" width="1.8" height="6" rx="0.9"/><rect data-bar="tag" x="9" y="4" width="1.8" height="6" rx="0.9"/></svg>LIVE</span>
                  <span class="wl__sub-text" data-match>HAR 2–1 NOR</span>
                </span>
              </span>
              <span class="wl__state" data-state>
                <span class="wl__title wl__title--busy" data-t>Connecting</span>
                <span class="wl__sub"><span class="wl__sub-text">Picking the best stream</span></span>
              </span>
              <span class="wl__state" data-state>
                <span class="wl__title" data-t>You are watching</span>
                <span class="wl__sub">
                  <span class="wl__tag wl__tag--on"><svg class="wl__meter" viewBox="0 0 11 10"><rect data-bar="tag" x="0" y="4" width="1.8" height="6" rx="0.9"/><rect data-bar="tag" x="3" y="4" width="1.8" height="6" rx="0.9"/><rect data-bar="tag" x="6" y="4" width="1.8" height="6" rx="0.9"/><rect data-bar="tag" x="9" y="4" width="1.8" height="6" rx="0.9"/></svg>LIVE</span>
                  <span class="wl__sub-text">HD · 2s behind</span>
                </span>
              </span>
              <span class="wl__state" data-state>
                <span class="wl__title" data-t>Stream closed</span>
                <span class="wl__sub"><span class="wl__sub-text">Tap to join again</span></span>
              </span>
            </span>
            <span class="wl__chip" data-chip aria-hidden="true">
              <span class="wl__chip-glow" data-chip-glow></span>
              <svg class="wl__eye" data-eye viewBox="0 0 16 16">
                <path class="wl__eye-lid" d="M1.6 8c1.5-2.9 3.7-4.4 6.4-4.4s4.9 1.5 6.4 4.4c-1.5 2.9-3.7 4.4-6.4 4.4S3.1 10.9 1.6 8z"/>
                <circle class="wl__eye-iris" data-iris cx="8" cy="8" r="2.1"/>
              </svg>
              <span class="wl__count" data-count>12,483</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.

28 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 “Watch live 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

In a dark studio, with a cold light behind, a trace of red rising from the floor and a very fine grain, a single pill button 60 pixels tall in brushed graphite lacquer: its edge is a steel hairline that catches the light at the top and goes into shadow at the bottom, and under the button the floor takes a faint red. On the left a glossy red disc with the white play triangle, in the middle Watch live and under it a small LIVE tag with a meter of four bars going up and down on their own, like the sound of the stadium, and the match with its score, HAR 2–1 NOR. On the right a chip with an eye and the audience, 12,483, rising every second or so: the digits that change roll upwards one by one, from the right, and the eye’s iris widens by a hair at every roll. With the mouse over it a soft light follows the pointer, the disc swells, the triangle leans forward on a spring and the meter gets louder. Pressed, the lacquer sinks by a pixel and springs back; the triangle slides out forwards, the disc dims, a steel arc starts spinning around the disc, growing and shrinking, and the words become Connecting with a band of cold light passing through them. When the stream opens the arc closes into a ring, widens and fades, the disc turns red again with a bounce and a waveform of five dancing bars is born inside it, a red light spreads from the disc through the button, a diagonal reflection crosses it, the words say You are watching with the LIVE tag filled with red, the chip turns red and the audience counts one more. Pressed again, the stream closes: Stream closed, then the play sign comes back from the left on a spring. Until someone touches it, the button goes round by itself and the stream closes by itself.

How it works

Lacquer in layers

The button is a single box (moved only by GSAP) with absolute layers: the graphite lacquer with a brushed texture of one pixel lines and a gradient from the top, the radial red 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 steel hairline, the light at the top, the shadow at the bottom.

Live without a dot

The live sign is a meter of four SVG rectangles. A single gsap.ticker redraws each bar’s y and height: each one sums three slow sines with its own frequencies and phases, taken from a seeded random generator, so it reads like sound and not like a heartbeat. An object A with two amplitudes (tag and waveform) is moved by GSAP: louder on hover, full when the stream is open.

The audience as an odometer

Each digit is a window one line tall over a column with 0-9 twice. To go up to a lower digit (9 becoming 0) the column moves to the second copy and at the end jumps back to the first unseen: the drum always turns forwards. The digits that change start from the right, staggered by 50 ms, with a light back.out. If the number of characters changes the columns are rebuilt.

The buffering arc

The arc is a circle with pathLength 1: while connecting it spins with rotation and svgOrigin while its strokeDasharray goes from 0.3 to 0.12 and back, like video player loaders. When the stream opens the dash grows to 1 (a closed ring), then ring and track widen to 1.3 and fade, and the disc gets its colour back as the saturate and brightness filter is removed.

Going round by itself

A fake pointer comes in, moves the light, presses and opens the stream; after HOLD seconds the stream closes by itself. At the first real touch the loop stops and the stream stays open until it is pressed again. Audience and loop start from the load event, so poster and video always land on the same moment.

Values to change

NameFileDefaultWhat it changes
MATCHscript.jsHAR 2–1 NORThe match and its score on the small line, after LIVE.
VIEWERSscript.js12483The audience when the page opens.
RISEscript.js26The most new viewers at every roll.
TICKscript.js1.3Seconds between two rolls of the audience.
CONNECTscript.js1.5How many seconds the button stays on Connecting.
LOUDscript.js1How lively the LIVE meter and the waveform are: 0.3 quiet, 1.6 loud.
SPRINGscript.js1How springy the moves are: 0.4 calm, 2 very bouncy.
HOLDscript.js2.6In the loop, how many seconds it stays on You are watching before closing.
AUTOscript.jstrueThe button goes round by itself until someone touches it.

Try them in the Playground

When to use it

For a sports streaming app or site, a live platform, a TV channel, a streamed event or concert, a live class or webinar: it says at once that it is on air now, how many people are watching, shows the connection and confirms you are in.

On phones

On the phone the button is at most 86% 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.

With reduced motion

Nothing moves: the meter and the waveform stay still with bars of different heights, the audience digits change in place, the play sign, the arc and the waveform swap with a fade and the red light grows only in strength.

Pitfalls

  • A digit drum 0-9 going from 9 to 0 rolled back down the whole column, and the audience seemed to drop: the column has the digits twice, always rolls up and at the end jumps unseen back to the first copy.
  • With true random values every recording started from a different audience and the poster changed every time: the randomness comes from a generator with a fixed seed.
  • Bars scaled with scaleY by GSAP in SVG squashed their rounded corners too: the ticker writes the rectangles’ y and height directly, so rx stays round.
  • The loop started when the script was read, and the poster landed on different moments: it starts from the page’s load event.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 9.9 KB; the libraries: GSAP 28 KB.

Testing

Tested on 3 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