Skip to content
animorio
IT
All components

Watch later button

Buttons, HoverGSAP, CSS onlyEasyCompressed weight: Demo 4.3 KBGSAP 28 KBFreeDownload the zip

One button, one sign, in the simple style of product interface pieces: the black «Watch later» pill of a video app with a clock drawn in three thin strokes; on tap the minute hand goes once round the face and the rim fills in amber behind it, the hour hand steps on by an hour and the label becomes «Saved». On a second tap the hand winds back and takes the colour with it.

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 later 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 later button with the clock hand going round</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" data-stage>
    <!-- one button, one sign: the minute hand goes round once and the rim of the clock fills in behind it -->
    <button class="later" type="button" data-later aria-pressed="false" aria-label="Watch later">
      <span class="later__body" data-body>
        <svg class="later__icon" viewBox="0 0 32 32" aria-hidden="true">
          <g data-clock>
            <circle class="later__rim" cx="16" cy="16" r="10.5"/>
            <circle class="later__fill" data-fill cx="16" cy="16" r="10.5" transform="rotate(-90 16 16)"/>
            <line class="later__hand later__hand--hour" data-hour x1="16" y1="16" x2="20.2" y2="16"/>
            <line class="later__hand" data-minute x1="16" y1="16" x2="16" y2="9.2"/>
          </g>
        </svg>
        <span class="later__label" aria-hidden="true">
          <span class="later__word" data-word="on">Watch later</span>
          <span class="later__word" data-word="off">Saved</span>
        </span>
      </span>
    </button>
  </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.

14 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 later 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 white, alone in the middle, there is a black pill with a clock drawn in three thin strokes, the faint rim of the face and the two hands, and the words «Watch later». On tap the pill gives a little and comes back on a spring; the minute hand starts slowly, picks up speed and goes once round the face, and behind it the rim fills in amber, as if that hour were being put aside. It runs a pixel past twelve and comes back onto it with a settle, while the hour hand steps on by an hour with a little bounce and the clock dips by a hair, as if set down. Meanwhile «Watch later» rises away and «Saved» arrives, coming in narrow and opening up on the width axis; the pill shortens on a spring as much as the new word needs. On a second tap the minute hand winds back the other way, taking the amber with it, the hour hand returns and «Watch later» comes back. Hovering brings the pill a touch closer and the minute hand moves on by a tick; when the mouse leaves, it goes back. Until someone touches it, the pill plays the gesture by itself.

How it works

A clock in three strokes

The icon is an SVG of four parts: the rim of the face at a third of opacity, the same circle in the accent colour turned by minus ninety degrees so the stroke starts at twelve, and the two hands, two lines with rounded ends.

One angle for two things

The minute hand and the amber rim read the same number, the angle of an object GSAP animates: on every frame the hand turns around the centre (svgOrigin 16 16) and the circle’s strokeDashoffset drops by the same fraction of the turn. So the colour always sits exactly behind the hand.

A pixel past twelve

The turn goes from 0 to 367 degrees with power3.inOut, starting slow and arriving slow, seven degrees past the end, which at the tip of the hand is one pixel; then it comes back to 360 with elastic.out. The rim stays full because the fraction is capped at one. The hour hand starts as the minutes pass twelve and lands with back.out.

The word coming in narrow

The old word rises and leaves halfway round, before the new one arrives, which comes up from below with the wdth axis at 75 and the weight at 420 and lands at 100 and 560 with back.out. The pill’s width follows the new word, measured in its final shape.

Values to change

NameFileDefaultWhat it changes
ACCENTscript.js#ffb21eThe colour the rim of the face fills in with.
LABEL_ONscript.jsWatch laterThe words before saving.
LABEL_OFFscript.jsSavedThe word once it is saved.
SWEEPscript.js0.95How many seconds the minute hand takes to go round.
SPRINGscript.js1How springy the press and the hands are: 0.4 calm, 2 very bouncy.
SPEEDscript.js1The speed of everything: 2 twice as fast, 0.5 half.
HOLDscript.js2.2How many seconds each state stays when the button plays by itself.
AUTOscript.jstrueThe button plays the gesture by itself until someone touches it.

Try them in the Playground

When to use it

For the button that puts a video, an episode or a lesson aside for later, in a video, course or podcast app: the hand going round says by itself that it has been saved, with no need for a notice.

On phones

On the phone the pill and the icon take their size from the screen (clamp on the shorter side); there is no hover, everything else is the same.

With reduced motion

The hands are in place at once, the amber rim fades in and out and the words swap with a fade; the pill takes its new width at once.

Pitfalls

  • With round caps, a stroke whose strokeDashoffset equals its length still leaves a speck at twelve: when the turn is at zero the accent circle has to be hidden.
  • The hand and the rim animated with two separate tweens drift apart during the elastic settle: a single object holding the angle, read by both on every frame, keeps them together.
  • The extra tick on hover is a second property of the same object, added to the angle: animated straight onto the hand’s rotation, the turn tween wiped it out.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

Tested on 31 October 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