
The star rating
Ratings, SVG, Hover
The room Wi-Fi card of Casa Merla, a made-up hotel, alone on white in the premium product style. Copy the password and the letters lift in a wave while a light crosses the field and the icon turns into a tick; switch to QR code and the squares of the code build from the centre out; press Join Wi-Fi and the signal arcs light from the inside out while the button fills, then they stay lit, the speed rolls up to 480 Mbps and the card says Online.
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>
<!--
"Room Wi-Fi card" 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 room Wi-Fi card with the password to copy and the QR that builds itself</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/jetbrains-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage">
<!-- the guest Wi-Fi card of a made-up hotel room: copy the password (the letters lift in a wave and a light
crosses the field), switch to the QR code (the squares build from the centre out), or join the network
(the arcs light from the inside out, the speed rolls up and the card says you are online) -->
<section class="wifi" data-wifi aria-label="Guest Wi-Fi">
<span class="wifi__glow" data-glow aria-hidden="true"></span>
<span class="wifi__edge" aria-hidden="true"></span>
<header class="head">
<span class="mark" aria-hidden="true">
<svg viewBox="0 0 24 24"><path d="M5 19V8.5L12 4l7 4.5V19" /><path d="M9.5 19v-5h5v5" /></svg>
</span>
<span class="head__txt">
<span class="head__name" data-brand>Casa Merla</span>
<span class="head__sub">Room <b data-room>214</b> · Guest Wi-Fi</span>
</span>
<span class="chip" data-chip><span class="chip__roll" data-chiproll><span class="chip__line">Offline</span></span></span>
</header>
<div class="net">
<svg class="arcs" viewBox="0 0 64 52" aria-hidden="true" data-arcs>
<defs>
<linearGradient id="arcLit" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#3f8f7f" />
<stop offset="1" stop-color="#1f5f54" />
</linearGradient>
</defs>
<path class="arc arc--track" d="M4 20.5a40 40 0 0 1 56 0" />
<path class="arc arc--track" d="M12.5 29a28 28 0 0 1 39 0" />
<path class="arc arc--track" d="M21 37.5a16 16 0 0 1 22 0" />
<path class="arc arc--lit" data-arc d="M21 37.5a16 16 0 0 1 22 0" />
<path class="arc arc--lit" data-arc d="M12.5 29a28 28 0 0 1 39 0" />
<path class="arc arc--lit" data-arc d="M4 20.5a40 40 0 0 1 56 0" />
<path class="wedge" data-wedge d="M27.6 44.2 32 48.6l4.4-4.4a6.2 6.2 0 0 0-8.8 0Z" />
</svg>
<span class="net__txt">
<span class="net__name" data-ssid>CasaMerla-Guest</span>
<span class="net__meta" data-meta><span class="net__line">5 GHz · WPA3 · Floor 2</span></span>
</span>
<span class="speed" data-speed aria-hidden="true">
<span class="speed__num" data-speednum>0</span><span class="speed__unit">Mbps</span>
</span>
</div>
<div class="tabs" role="tablist" aria-label="How to join">
<span class="tabs__pill" data-pill aria-hidden="true"></span>
<button class="tab is-on" type="button" role="tab" aria-selected="true" data-tab="pass">Password</button>
<button class="tab" type="button" role="tab" aria-selected="false" data-tab="qr">QR code</button>
</div>
<div class="panel">
<div class="view view--pass" data-view="pass" role="tabpanel">
<div class="field" data-field>
<span class="field__clip" aria-hidden="true"><span class="field__sweep" data-sweep></span></span>
<span class="field__pw" data-pw aria-label="Password"></span>
<button class="copy" type="button" data-copy aria-label="Copy password">
<svg class="copy__icon" viewBox="0 0 20 20" aria-hidden="true">
<g class="copy__sheets" data-sheets>
<rect x="7" y="7" width="9.5" height="9.5" rx="2.4" />
<path d="M13 4.6V4.4A1.9 1.9 0 0 0 11.1 2.5H5.4A1.9 1.9 0 0 0 3.5 4.4v5.7a1.9 1.9 0 0 0 1.9 1.9h.2" />
</g>
<path class="copy__tick" data-tick d="M5.2 10.4 8.4 13.4 14.8 6.8" />
</svg>
</button>
<span class="toast" data-toast aria-live="polite">Copied</span>
</div>
<span class="note"><span data-count>16</span> characters · case sensitive</span>
</div>
<div class="view view--qr" data-view="qr" role="tabpanel" aria-hidden="true">
<span class="qr__tile"><svg class="qr" data-qr viewBox="0 0 25 25" aria-label="QR code to join the network"></svg></span>
<span class="qr__txt">
<span class="qr__title">Point your camera here</span>
<span class="qr__sub">Joins <b data-ssid2>CasaMerla-Guest</b> without typing.</span>
</span>
</div>
</div>
<button class="join" type="button" data-join>
<span class="join__fill" data-fill aria-hidden="true"></span>
<span class="join__face">
<svg class="join__tick" viewBox="0 0 16 16" aria-hidden="true"><path data-jointick d="M3.4 8.4 6.6 11.4 12.6 5" /></svg>
<span class="join__roll"><span class="join__label" data-label>Join Wi-Fi</span></span>
</span>
</button>
</section>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></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.
39 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 “Room Wi-Fi card” from Animorio and fit it into my siteThe password is split into one span per letter, with dashes and digits in two colour classes. On copy, GSAP gives each letter three keyframes (up four pixels, down half a pixel, back on an elastic) staggered by 24 thousandths: the wave.
A strip with a white and pale green gradient moves from -110% to 240% of its width inside a holder that clips to the field’s rounded corners; the field itself does not clip, so its shadows stay whole.
The code is an SVG of 25 by 25 rectangles: the three eyes and the alignment square drawn, the timing lines alternating and the rest from a random number seeded by the password. Each square grows from its own centre (GSAP’s transformOrigin) with back.out, delayed in proportion to its distance from the centre.
On top of the three grey arcs sit three identical ones with the green gradient: a repeating timeline lights them from the smallest to the largest until the network answers; then they stay lit, the sign does an elastic from its base and the speed rolls up with power3.out, written only rounded.
| Name | File | Default | What it changes |
|---|---|---|---|
BRAND | script.js | "Casa Merla" | The name of the hotel. |
ROOM | script.js | "214" | The room number in the head. |
NETWORK | script.js | "CasaMerla-Guest" | The name of the network. |
PASSWORD | script.js | "olive-terrace-48" | The password shown, copied and turned into the QR code. |
SPEED | script.js | 480 | The speed shown once online, in Mbps. |
JOIN_TIME | script.js | 2.4 | How many seconds the card takes to join the network. |
QR_BUILD | script.js | 0.9 | How many seconds the QR squares take to build from the centre to the edges. |
SPRING | script.js | 1 | How lively the springs are (0 none, 1.6 a lot). |
LOOP | script.js | true | Left alone, the drawn pointer does the round again. |
In the guest app or page of a hotel, a B&B or a holiday home, in the room guide, in a guest portal or on the Wi-Fi screen of a coworking space or a café: anywhere someone needs to get online without asking the front desk for the password.
The card narrows to 90 vw and the vertical sizes use clamp with vh, so it fits the phone box; the tab pill is measured again on resize and below 470 pixels of height the note under the password is hidden.
No waves and no bounces: the letters do not move, the QR fades in, the arcs light halfway and then all together, the speed appears at its value and the labels change with fades. The drawn pointer is not shown, the demo still repeats.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 10 KB; the libraries: GSAP 28 KB.
Tested on 15 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.