
The star rating
Ratings, SVG, Hover
The verified badge next to the name of a profile, that of Corvina Bakehouse, a made-up bakery, in a white card from a premium shot. The seal is a rosette with soft points drawn in SVG: grey with a clock while the verification is pending, then a thin ring closes around it, the rosette fills with blue from the middle, turns and settles on a spring, the check draws itself and a metal shine runs over it once. Under the name the status rolls from Verification pending to Verified business. On hover, on tap or with the Tab key a small popover opens saying who verified it and since when, with the line of passed checks filling up.
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>
<!--
"Verified badge" 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>Verified badge</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>
<!-- the profile header of an invented bakery with its verified badge: a scalloped seal drawn in SVG that goes from
grey and pending to verified, turning and settling on a spring while the check draws itself and a metal shine
runs over it once; hovering, focusing or tapping the seal opens a small card that says who verified it and when -->
<div class="zone" data-zone>
<div class="card" data-card>
<span class="card__rim" aria-hidden="true"></span>
<div class="avatar" aria-hidden="true">
<svg viewBox="0 0 48 48">
<path class="loaf" d="M9 31.5c0-8.6 6.7-14.5 15-14.5s15 5.9 15 14.5c0 1.4-1.1 2.5-2.5 2.5h-25A2.5 2.5 0 0 1 9 31.5Z"></path>
<path class="score" d="M17.2 22.6c1.6 1.4 2.4 3.2 2.6 5.4M23.6 20.6c1.7 1.6 2.6 3.7 2.8 6.3M30 22.2c1.5 1.3 2.3 3 2.5 5"></path>
</svg>
</div>
<div class="who">
<p class="name">
<span class="name__txt">Corvina Bakehouse</span>
<button class="seal" type="button" data-seal aria-describedby="seal-tip" aria-label="Verification status">
<svg class="seal__svg" viewBox="0 0 40 40" aria-hidden="true">
<defs>
<linearGradient id="seal-paint" x1="8" y1="5" x2="32" y2="36" gradientUnits="userSpaceOnUse">
<stop class="st-a1" offset="0"></stop>
<stop class="st-a2" offset="0.55"></stop>
<stop class="st-a3" offset="1"></stop>
</linearGradient>
<linearGradient id="seal-grey" x1="8" y1="5" x2="32" y2="36" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#e9e9ec"></stop>
<stop offset="1" stop-color="#c9cad0"></stop>
</linearGradient>
<linearGradient id="seal-rim" x1="20" y1="2" x2="20" y2="38" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#ffffff" stop-opacity="0.85"></stop>
<stop offset="0.45" stop-color="#ffffff" stop-opacity="0.08"></stop>
<stop offset="1" stop-color="#000000" stop-opacity="0.16"></stop>
</linearGradient>
<linearGradient id="seal-shine" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#ffffff" stop-opacity="0"></stop>
<stop offset="0.42" stop-color="#ffffff" stop-opacity="0.12"></stop>
<stop offset="0.5" stop-color="#ffffff" stop-opacity="0.78"></stop>
<stop offset="0.58" stop-color="#ffffff" stop-opacity="0.12"></stop>
<stop offset="1" stop-color="#ffffff" stop-opacity="0"></stop>
</linearGradient>
<clipPath id="seal-clip"><path data-ros></path></clipPath>
<clipPath id="seal-fill"><circle data-fill-c cx="20" cy="20" r="0"></circle></clipPath>
</defs>
<ellipse class="seal__shadow" data-shadow cx="20" cy="36.4" rx="12" ry="2.4"></ellipse>
<circle class="seal__track" data-track cx="20" cy="20" r="19.2"></circle>
<circle class="seal__arc" data-arc cx="20" cy="20" r="19.2" pathLength="100" transform="rotate(-90 20 20)"></circle>
<g data-rosette>
<path class="seal__grey" data-ros></path>
<g clip-path="url(#seal-fill)"><path class="seal__paint" data-ros></path></g>
<path class="seal__rimline" data-ros></path>
<g clip-path="url(#seal-clip)">
<g transform="rotate(22 20 20)"><rect class="seal__shine" data-shine x="-16" y="-8" width="16" height="56"></rect></g>
</g>
</g>
<g class="seal__clock" data-clock>
<circle cx="20" cy="20" r="7.2"></circle>
<path data-hand-m d="M20 20v-4.6"></path>
<path data-hand-h d="M20 20h3.1"></path>
</g>
<path class="seal__check" data-check pathLength="100" d="M14.2 20.4l4 3.9 7.8-8.4"></path>
</svg>
<span class="seal__ring" data-ring aria-hidden="true"></span>
</button>
</p>
<p class="sub">
<span class="handle">@corvina.bakes</span>
<span class="sep" aria-hidden="true">·</span>
<span class="status" data-status><span class="status__w" data-status-w>Verification pending</span></span>
</p>
<span class="sr" data-live aria-live="polite"></span>
</div>
</div>
<div class="tip" id="seal-tip" role="tooltip" data-tip>
<span class="tip__arrow" data-tip-arrow aria-hidden="true"></span>
<div class="tip__in">
<p class="tip__head" data-tip-row>
<svg class="tip__seal" viewBox="0 0 40 40" aria-hidden="true">
<path class="tip__seal-fill" data-ros></path>
<path class="tip__seal-check" d="M14.2 20.4l4 3.9 7.8-8.4"></path>
</svg>
<span data-tip-title>Verified business</span>
</p>
<p class="tip__lead" data-tip-row data-tip-lead>Corvina Bakehouse is a confirmed business on Verity.</p>
<dl class="tip__facts" data-tip-row>
<div><dt>Verified by</dt><dd data-tip-by>Verity Trust</dd></div>
<div><dt data-tip-since-l>Since</dt><dd data-tip-since>March 14, 2024</dd></div>
</dl>
<div class="tip__checks" data-tip-row>
<p class="tip__checks-top"><span>Checks passed</span><span class="tip__count"><span data-count>0</span> of <span data-count-all>3</span></span></p>
<span class="tip__track"><span class="tip__bar" data-bar></span></span>
<p class="tip__names" data-tip-names>Identity · Domain · Registry</p>
</div>
</div>
</div>
</div>
<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.
36 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 “Verified badge” from Animorio and fit it into my siteThe seal’s shape is one computed path: a circle whose radius waves LOBES times with a softened cosine (the sign times the absolute value to the power 0.8), sampled at 24 points per tip. The same d goes into the grey rosette, the blue one, the light-catching edge, the shine’s clipPath and the small seal in the popover.
The blue rosette (a linearGradient between three tones of the accent) sits over the grey one inside a clipPath with a circle: GSAP takes its r attribute from 0 to 24 and the colour spreads from the middle, while the rosette group turns from -TURN to 0 with an elastic.out and the button runs a series of scales (squash, swell, settle by a pixel).
The check has pathLength 100 and strokeDasharray 100 102: the strokeDashoffset goes from 101 to 0 (with autoRound off, otherwise it snaps to whole numbers). The shine is a rectangle with a white transparent gradient, rotated 22 degrees in a group and moved in x inside the rosette’s clipPath: the group keeps the rotation, GSAP moves only the rectangle.
On opening the popover measures itself on the seal: it centres under it but never leaves the card, and the arrow and the transformOrigin go to the exact point of the seal, so the popover grows from there with a back.out. The rows come in staggered and the checks line is a scaleX with a counter counting along.
| Name | File | Default | What it changes |
|---|---|---|---|
LOBES | script.js | 12 | The soft points of the seal’s rosette. |
POINT | script.js | 0.11 | How deep the points are: 0 a circle, 0.2 a star. |
TURN | script.js | 150 | The degrees the rosette turns before settling on verified. |
SPRING | script.js | 1.1 | The seconds of the spring the rosette settles with. |
VERIFY_TIME | script.js | 1.5 | The seconds of the check, with the ring closing around the grey seal. |
SHINE | script.js | 0.85 | The seconds of the shine running over the seal. |
VERIFIER | script.js | Verity Trust | Who did the verification, written in the popover. |
SINCE | script.js | March 14, 2024 | Since when the business has been verified. |
CHECKS | script.js | 3 | The passed checks the line counts and fills. |
AUTO | script.js | true | The round on its own: pending, verified, a look at the popover, then pending again. |
--accento | style.css | #2563eb | The blue of the verified seal, the status and the line. |
--attesa | style.css | #a1a3ab | The grey of the pending seal in the popover. |
Next to the name of a profile, a shop or a business in a marketplace, a social network, a list of sellers or hosts, in reviews or in an account header: wherever a mark has to say that whoever is behind it has been checked, and explain by whom and since when to whoever hovers it.
The card narrows with the screen, the name, the mark and the seal are also sized on the height and the popover always stays within the card’s width, with the arrow following the seal. A tap on the seal does the press and opens the popover, a tap outside closes it.
No turning, springs, squashing, shine or drawn pointer: the ring closes, the seal turns blue with a fade and the check already in place, the status changes with a fade and the popover fades in and out, with the line already full.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.2 KB; the libraries: GSAP 28 KB.
Tested on 18 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.