
The star rating
Ratings, SVG, Hover
The Boost button of a smart home app, which raises the living room heating for half an hour, made of dark cool glass on a near black page, like a Dribbble shot. Pressed, the warmth starts right under the finger and spreads through the glass as two blurred embers, a shimmer of hot air redrawn every frame rises inside it, the flame fills with colour and the room temperature rolls up half a degree at a time, the digits getting bolder as it warms. When it gets there the edge lights up warm, a reflection crosses the glass and the words say Boosted; then it cools down and the digits roll back.
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>
<!--
"Heating boost 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 heating Boost button with the glass that warms up</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 Boost button of a smart home app, made of dark cool glass. Pressed, the warmth starts from under the
finger and spreads through the glass, a faint heat haze rises inside it, the flame lights up and the room
temperature rolls up half a degree at a time. When it gets there the glass glows, a reflection crosses it and
the button says Boosted; then it cools back down to rest -->
<div class="hb" data-wrap>
<span class="hb__spill hb__spill--cool" data-spill-cool aria-hidden="true"></span>
<span class="hb__spill hb__spill--warm" data-spill-warm aria-hidden="true"></span>
<button class="hb__btn" type="button" data-btn aria-label="Boost heat in the living room for 30 minutes">
<span class="hb__glass" data-glass>
<span class="hb__base" aria-hidden="true"></span>
<span class="hb__heat" aria-hidden="true">
<span class="hb__ember" data-ember></span>
<span class="hb__ember hb__ember--b" data-ember-b></span>
</span>
<svg class="hb__haze" data-haze aria-hidden="true">
<defs>
<linearGradient id="hb-fade" x1="0" y1="1" x2="0" y2="0">
<stop offset="0" stop-color="#fff" stop-opacity="0"/>
<stop offset="0.35" stop-color="#fff" stop-opacity="1"/>
<stop offset="1" stop-color="#fff" stop-opacity="0"/>
</linearGradient>
<mask id="hb-mask" maskContentUnits="objectBoundingBox">
<rect width="1" height="1" fill="url(#hb-fade)"/>
</mask>
</defs>
<g mask="url(#hb-mask)" data-haze-g></g>
</svg>
<span class="hb__frost" aria-hidden="true"></span>
<span class="hb__rim hb__rim--warm" data-rim aria-hidden="true"></span>
<span class="hb__shine" data-shine aria-hidden="true"></span>
<span class="hb__sweep" aria-hidden="true"><span class="hb__sweep-band" data-sweep></span></span>
<span class="hb__row">
<span class="hb__icon" aria-hidden="true">
<svg viewBox="0 0 24 24">
<defs>
<linearGradient id="hb-flame" x1="0" y1="1" x2="0" y2="0">
<stop offset="0" stop-color="var(--ember)"/>
<stop offset="1" stop-color="var(--amber)"/>
</linearGradient>
</defs>
<g data-flame>
<path class="hb__flame-fill" data-flame-fill d="M12 2.6c.6 3.1 2.6 4.6 4.1 6.6 1.3 1.7 2.2 3.4 2.2 5.6 0 3.7-2.9 6.6-6.3 6.6s-6.3-2.9-6.3-6.6c0-2.2 1-3.9 2.2-5.1.3 1.5 1 2.5 2.1 3-.4-3.9.7-7.6 2-10.1z"/>
<path class="hb__flame-line" data-flame-line d="M12 2.6c.6 3.1 2.6 4.6 4.1 6.6 1.3 1.7 2.2 3.4 2.2 5.6 0 3.7-2.9 6.6-6.3 6.6s-6.3-2.9-6.3-6.6c0-2.2 1-3.9 2.2-5.1.3 1.5 1 2.5 2.1 3-.4-3.9.7-7.6 2-10.1z"/>
<path class="hb__flame-core" data-flame-core d="M12 12.4c.9 1.3 2.4 2.3 2.4 4.2 0 1.5-1.1 2.6-2.4 2.6s-2.4-1.1-2.4-2.6c0-1.6 1.6-2.7 2.4-4.2z"/>
</g>
</svg>
</span>
<span class="hb__text" aria-hidden="true">
<span class="hb__stack">
<span class="hb__title" data-title>Boost heat</span>
<span class="hb__title" data-title>Heating</span>
<span class="hb__title" data-title>Boosted</span>
</span>
<span class="hb__stack">
<span class="hb__sub" data-sub>Living room · 30 min</span>
<span class="hb__sub" data-sub>Warming to 22.0°</span>
<span class="hb__sub" data-sub>Warm for 30 min</span>
</span>
</span>
<span class="hb__temp" data-temp aria-hidden="true">
<span class="hb__digit"><span class="hb__strip" data-strip></span></span><span class="hb__digit"><span class="hb__strip" data-strip></span></span><span class="hb__dot">.</span><span class="hb__digit"><span class="hb__strip" data-strip></span></span><span class="hb__deg">°</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.
28 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 “Heating boost button” from Animorio and fit it into my siteThe button is a single box that GSAP moves with scale and y; inside, absolute layers with overflow hidden and the inherited round corners: the cool base, the warmth, the hot air in SVG, the pane with a feTurbulence grain and three inner shadows, the warm rim, the pointer light and the reflection.
An object with warm from 0 to 1 drives everything in one function: the scale and opacity of the two embers (blurred radial-gradients placed with x and y at the click point), the hot air, the rim, the two glows on the floor that swap, the three layers of the flame and the weight and colour of the temperature, with fontWeight on the variable font’s wght axis and color-mix.
Seven vertical SVG paths are rebuilt every frame by the GSAP ticker from thirteen points on a sine that slides in time, with an amplitude that grows as they rise; a mask with a gradient fades them at the bottom and the top. When the warmth is zero the ticker draws nothing.
Every digit is a column of eleven numbers (0 to 9 and 0 again) inside a 1em window with a soft mask: GSAP moves the column with yPercent and back.out. Going up from 9 to 0 it travels to the second zero and then jumps to the first unseen; going down from 0 it starts from the second zero. The decimal moves first, the units 0.05 seconds later, the tens 0.1.
A timeline brings warm to 1 in DURATION seconds with power1.inOut and rounds the temperature to the half degree at every step; on arrival the glass goes to 1.02 and comes back on an elastic spring, a slanted band of light crosses it with xPercent and the flame jumps. After HOLD seconds a tween brings warm back to 0 and the digits roll back down.
| Name | File | Default | What it changes |
|---|---|---|---|
LABEL_REST | script.js | Boost heat | The words at rest. |
LABEL_BUSY | script.js | Heating | The word while it warms. |
LABEL_DONE | script.js | Boosted | The word on arrival. |
ROOM | script.js | Living room | The room, in the small line. |
FROM | script.js | 19.5 | The room temperature at rest, in degrees (10 to 39). |
TO | script.js | 22 | The temperature the boost reaches. |
MINUTES | script.js | 30 | How many minutes the boost lasts. |
DURATION | script.js | 3.2 | How many seconds it takes to warm up. |
HAZE | script.js | 1 | How visible the hot air is. |
SPRING | script.js | 1 | How springy the press is: 0.4 calm, 2 very bouncy. |
HOLD | script.js | 1.8 | How many seconds Boosted stays before cooling down. |
AUTO | script.js | true | The button goes round by itself until someone touches it. |
For the quick action of a smart home app that changes something physical and takes a few seconds: a heating boost, hot water, an oven to preheat. The glass warming up and the digits rising tell that the house got the command and is working on it.
On the phone the button is at most 84% of the screen wide and the hot air redraws to its size; there is no hover, so the light under the finger turns on at the touch and the warmth starts where you tap, the rest is the same.
Nothing moves: the embers do not grow but the warmth fades in, there is no hot air, the flame takes its colour in place, the digits change with a fade instead of rolling and the words swap without moving.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.8 KB; the libraries: GSAP 28 KB.
Tested on 2 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.