
The star rating
Ratings, SVG, Hover
The “Skip intro” button of a streaming app’s player. Its orange border burns away for as long as the intro lasts, the seconds running down beside the label. Pressed, the rest of the border burns at once, the two chevrons shoot ahead twice, the pill lunges and leaves. Leave it alone and, once the intro is over, it leaves by itself.
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>
<!--
"Skip intro 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>Skip intro button</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 Skip intro button of a streaming app: its border burns away for as long as the intro lasts;
press it and the chevrons shoot forward, the pill lunges and leaves; wait and it leaves by itself -->
<button class="sk" type="button" data-sk>
<svg class="sk__edge" viewBox="0 0 212 58" aria-hidden="true">
<rect class="sk__track" x="1.250" y="1.250" width="209.500" height="55.500" rx="27.750"></rect>
<rect class="sk__burn" data-burn x="1.250" y="1.250" width="209.500" height="55.500" rx="27.750" pathLength="1"></rect>
</svg>
<span class="sk__roll sk__label"><span data-label>Skip intro</span></span>
<span class="sk__time" data-time aria-hidden="true">0:06</span>
<svg class="sk__go" viewBox="0 0 26 20" aria-hidden="true">
<path data-chev d="M4 4.500 10 10l-6 5.500"></path>
<path data-chev d="M13 4.500 19 10l-6 5.500"></path>
</svg>
</button>
<span class="sk__say" data-say aria-live="polite"></span>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.200 19.200 11l-6.300 1.600-3.300 5.900Z"></path></svg>
</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.
11 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
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 “Skip intro button” from Animorio and fit it into my siteA rounded SVG rectangle with pathLength 1 over the pill: stroke-dashoffset is the part of the intro already gone, updated every frame from GSAP’s ticker.
Three things at once: the remaining border goes to zero in a third of a second, the chevrons make two staggered dashes (out to the right, back in from the left), the pill anticipates by squashing and then stretches with its origin on the left.
On a skip the pill leaves forwards, to the right; when the intro ends it sinks and fades. You can tell without reading whether you skipped or the moment passed.
It is a button: Enter and Space skip, it is disabled once it leaves and an aria-live region says “Intro skipped” or “Intro over”.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #ff6a3d | The colour of the border that burns away. |
INTRO | script.js | 6 | How many seconds the intro lasts: the border burns away in this time. |
AWAY | script.js | 1.2 | How many seconds the button stays away before coming back (in the demo: the next episode). |
PUSH | script.js | 1 | How far the button stretches forward when it skips: 0 = not at all, 2 = a lot. |
LOOP | script.js | true | Left alone, the demo’s pointer skips one intro and lets the next one run out. |
Over the video of a streaming app, bottom right, while the intro or the recap plays; the same timed button suits “Skip ad”, “Next episode” or an offer that expires.
The same button, 212 by 58 pixels: it fits any screen and is easy on a thumb. With no hover the chevrons stay still until you press.
The button sits still with its border whole and no countdown starts; pressed, it says “Skipping” and then “Skip intro” again, with no dashes or slides. The demo does not move by itself.
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.
Tested on 21 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.
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.