
Logo loader
Transitions, SVG, Text
A minimal text animation: the promise and its small print. A big headline rises letter by letter on warm white, taking on weight on a spring; then a small orange asterisk falls spinning after the last letter, the letters make room, and as it lands the headline gives way a little, narrower and lighter on the two axes of the variable typeface. Below, a hairline draws itself and the fine print rises. With the pointer both asterisks turn by one arm; a tap brings the next promise.
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>
<!--
"Asterisk headline" 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 headline whose asterisk leads to the fine print</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="scena" data-stage>
<div class="palco">
<!-- the promise: the script splits it into letters; the asterisk lands after the last one -->
<h1 class="titolo" data-title></h1>
<!-- the fine print the asterisk leads to -->
<div class="nota-piede" data-foot>
<span class="filo" data-rule></span>
<p class="clausola" data-clause aria-live="polite"></p>
</div>
</div>
<p class="aiuto" data-help>Tap for the next promise</p>
</main>
<!-- the asterisk, drawn: six thin arms -->
<svg width="0" height="0" style="position:absolute" aria-hidden="true">
<symbol id="asterisco" viewBox="-10 -10 20 20">
<g stroke="currentColor" stroke-width="2.1" stroke-linecap="round">
<line x1="0" y1="-8.4" x2="0" y2="8.4"/>
<line x1="-7.27" y1="-4.2" x2="7.27" y2="4.2"/>
<line x1="-7.27" y1="4.2" x2="7.27" y2="-4.2"/>
</g>
</symbol>
</svg>
<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.
14 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 “Asterisk headline” from Animorio and fit it into my siteEach letter is an inline-block with its own --w variable inside font-variation-settings; GSAP takes it from 240 to 700 with a back.out staggered by 34 thousandths, while the child rises from 62% of its height. A modifier keeps the weight between 100 and 900 even in the overshoot.
The asterisk lives in a zero-width inline-block at the end of the last line. GSAP widens it to 0.42em and the centred line moves by itself: the letters make room with no maths. Inside, the asterisk drawn in SVG falls from 1.3em higher, spinning 150 degrees.
On arrival it squashes to 0.72 and widens to 1.22 for seventy thousandths, then comes back with elastic.out; meanwhile it turns another 30 degrees on a spring and the last letter dips 0.03em and comes back up.
At the same instant the headline’s --wd variable goes from 100 to 86 and the letters’ weight from 700 to 590, staggered from the last one: the headline shrinks towards the asterisk, as if the asterisk were taking its strength away.
The line grows with scaleX from the centre, the tiny asterisk spins in, the words of the note rise 9 pixels one after another. The exit sits at the end of the same timeline, after the exit label; a tap jumps there, and when the loop ends the next promise is written.
| Name | File | Default | What it changes |
|---|---|---|---|
WEIGHT | script.js | 700 | The weight of the promise before the asterisk. |
SHRUNK_WEIGHT | script.js | 590 | The weight once the asterisk has landed. |
SHRUNK_WIDTH | script.js | 86 | The width once the asterisk has landed, from 75 to 125 (100 is normal). |
BOUNCE | script.js | 0.5 | How far letters and asterisk pass the mark before they settle. |
HOLD | script.js | 2.6 | How many seconds the fine print stays before the next promise. |
SPEED | script.js | 1 | 2 = twice as fast, 0.5 = half as fast. |
LOOP | script.js | true | Go through the promises again and again. |
For the pricing page or the hero of a SaaS product, a subscription app or an online shop that wants to state a promise with a wink, or for a blog or a portfolio that plays with the fine print.
The same animation with adapted sizes: the headline is as big as the box allows, in width and height, and a tap brings the next promise.
No falls and no springs: the promise appears already narrow and light, then the asterisk and the note fade in and leave the same way.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.1 KB; the libraries: GSAP 28 KB.
Tested on 1 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.