
The star rating
Ratings, SVG, Hover
A premium component in the style of Dribbble shots: the ‘Site of the Day’ badge of an invented design award, to pin in the corner of a site. A plate of dark brushed metal with a champagne edge, a laurel wreath drawn in thin lines around a small trophy, its leaves lighting up gold one after the other, a light running over the metal and the title and following the pointer. Tapped, the badge gives on a spring and opens on the jury's votes: the bars fill, the figures roll up and the score lands.
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>
<!--
"Metal award 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>The award badge with the laurel wreath</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">
<span class="stage__light" aria-hidden="true"></span>
<span class="stage__grain" aria-hidden="true"></span>
<!-- the Site of the Day badge of an invented design award, the kind a studio pins in the corner of its site. A plate
of dark brushed metal with a champagne edge: on the left a laurel wreath drawn with thin lines around a small
trophy, whose leaves light up one by one; on the right the award and the date. A light runs over the metal and
follows the pointer; pressed, the plate gives, opens and shows the jury's votes with the bars filling and the
figures rolling up to the final score -->
<div class="aw" data-wrap>
<span class="aw__halo" data-halo aria-hidden="true"></span>
<div class="aw__plate" data-plate>
<span class="aw__metal" aria-hidden="true"></span>
<span class="aw__spot" data-spot aria-hidden="true"></span>
<span class="aw__sheen" aria-hidden="true"><span class="aw__sheen-band" data-sheen></span></span>
<span class="aw__rim" data-rim aria-hidden="true"></span>
<button class="aw__head" type="button" data-head aria-expanded="false" aria-controls="aw-votes">
<svg class="aw__wreath" viewBox="0 0 56 56" aria-hidden="true">
<defs>
<linearGradient id="aw-gold" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="var(--gold-hi)"/>
<stop offset="1" stop-color="var(--gold)"/>
</linearGradient>
</defs>
<g data-branch="left"></g>
<g data-branch="right" transform="translate(56 0) scale(-1 1)"></g>
<g class="aw__cup" data-cup>
<path pathLength="1" d="M22.4 18.6h11.2v4.3a5.6 5.6 0 0 1-11.2 0z"/>
<path pathLength="1" d="M22.4 20.2h-1.7a2.3 2.3 0 0 0 2.2 3.9"/>
<path pathLength="1" d="M33.6 20.2h1.7a2.3 2.3 0 0 1-2.2 3.9"/>
<path pathLength="1" d="M28 28.5v3.6"/>
<path pathLength="1" d="M24.6 35.2h6.8M25.6 32.6h4.8"/>
</g>
<path class="aw__star" data-star d="M28 10.4l.9 1.9 2 .3-1.5 1.4.4 2-1.8-1-1.8 1 .4-2-1.5-1.4 2-.3z"/>
</svg>
<span class="aw__text">
<span class="aw__kicker" data-line>Corvel Awards</span>
<span class="aw__title" data-line data-title>Site of the Day</span>
<span class="aw__date" data-line>Nov 2, 2026</span>
</span>
<svg class="aw__chev" data-chev viewBox="0 0 16 16" aria-hidden="true"><path d="M4.5 6.5L8 10l3.5-3.5"/></svg>
</button>
<div class="aw__panel" id="aw-votes" data-panel role="region" aria-label="Jury votes">
<span class="aw__panel-rule" aria-hidden="true"></span>
<ul class="aw__votes">
<li class="aw__vote" data-vote="8.62"><span class="aw__vote-name">Design</span><span class="aw__bar"><span class="aw__fill" data-fill></span></span><span class="aw__num" data-num>8.62</span></li>
<li class="aw__vote" data-vote="8.10"><span class="aw__vote-name">Usability</span><span class="aw__bar"><span class="aw__fill" data-fill></span></span><span class="aw__num" data-num>8.10</span></li>
<li class="aw__vote" data-vote="8.94"><span class="aw__vote-name">Creativity</span><span class="aw__bar"><span class="aw__fill" data-fill></span></span><span class="aw__num" data-num>8.94</span></li>
<li class="aw__vote" data-vote="8.05"><span class="aw__vote-name">Content</span><span class="aw__bar"><span class="aw__fill" data-fill></span></span><span class="aw__num" data-num>8.05</span></li>
</ul>
<div class="aw__score" data-score-row>
<span class="aw__score-label">Score<span class="aw__jury">Jury of 24</span></span>
<span class="aw__score-num"><span data-score>8.43</span><span class="aw__of">/10</span></span>
</div>
</div>
</div>
</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.
31 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 “Metal award badge” from Animorio and fit it into my siteThe two branches are the same SVG group, the second mirrored with scale(-1 1). The script draws a circular arc for the stem and places the leaves along it: at each angle the tangent is the angle plus 90 degrees, the outer leaf leans 38 degrees outward, the inner one 34 inward and smaller; towards the tip the leaves get shorter. Each leaf is an almond of two Bézier curves.
Every line has pathLength=1, so stroke-dasharray and stroke-dashoffset are 1 for all of them and GSAP draws them with the same timing. The leaves, sorted from the bottom to the tip, draw themselves and open from the base with back.out; the gold fill is a copy of the leaf with a gradient, which rises to 1 and settles at 0.5 with a stagger, like a wave.
The metal is three gradients stacked (very thin repeating lines, a slanted reflection, the vertical light and shade) with the inner shadows of the edge. The band of light is a skewed element with mix-blend-mode: screen moved by a number p from -0.4 to 1.45; every frame the same position goes to the title, a text with a clipped gradient, so the letters light up exactly where it passes.
The champagne edge is a 1 pixel ring cut out with mask-composite (exclude) from a radial gradient centred on the pointer, like the spot of light on the metal: the two variables --mx and --my move both. With the pointer the band follows it with gsap.quickTo.
The press is a scale to 0.972 and an elastic.out return. The panel goes from height 0 to 'auto' with GSAP, the rows come in staggered, the bars stretch with scaleX to the vote over 10 and the figures count with onUpdate and toFixed(2); the score lands last with a small knock of scale. The box around it is as tall as the open badge, so opening it moves nothing around it.
| Name | File | Default | What it changes |
|---|---|---|---|
AWARD | script.js | Site of the Day | The award, the big words on the badge. |
ISSUER | script.js | Corvel Awards | Who gives it, the small words above. |
DATE_TEXT | script.js | Nov 2, 2026 | The date under the award. |
LEAVES | script.js | 6 | How many leaves each branch of the wreath has (4 to 8). |
SHEEN | script.js | 1 | How bright the band of light over the metal is. |
SPRING | script.js | 1 | How springy the press is: 0.4 calm, 2 very bouncy. |
HOLD | script.js | 4.2 | On its own, how many seconds the votes stay open. |
AUTO | script.js | true | The badge shows itself off until someone touches it. |
In the corner of a portfolio, a studio's site or a product page that has won a design award: a recognition you notice without it shouting, which shows the votes to anyone curious.
On the phone the badge is at most 86% of the screen wide and the box shrinks with the height; there is no hover, so the light, the glow and the rim light up under the finger at the touch, which opens and closes the votes.
Nothing moves: the wreath and the trophy are already drawn and the plate fades in, the band of light does not pass, the votes open and close with a fade with the bars and figures already at their value.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.5 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.