Activity Rings Chart
Three nested progress rings built from conic gradients and radial masks, with a colour-keyed legend showing each percentage.
- lines of CSS
- 26lines of CSS
- dependencies
- 0dependencies
- baseline browsers
- Newlybaseline browsers
- motion only on interaction
- Hovermotion only on interaction
- Move 78%
- Exercise 55%
- Stand 92%
Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.
.fx-v12-ch-rings-15250 {
display: flex;
align-items: center;
gap: 1rem;
color: #e2e8f0;
font-size: 0.75rem;
}
.fx-v12-ch-rings-15250 .rings { position: relative; width: 120px; height: 120px; }
.fx-v12-ch-rings-15250 .rings i {
position: absolute;
border-radius: 50%;
-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px));
mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px));
transition: filter 0.3s ease;
}
.fx-v12-ch-rings-15250 .rings i:nth-child(1) { inset: 0; background: conic-gradient(#ec4899 0 78%, rgba(236,72,153,0.2) 0); }
.fx-v12-ch-rings-15250 .rings i:nth-child(2) { inset: 17px; background: conic-gradient(#84cc16 0 55%, rgba(132,204,22,0.2) 0); }
.fx-v12-ch-rings-15250 .rings i:nth-child(3) { inset: 34px; background: conic-gradient(#06b6d4 0 92%, rgba(6,182,212,0.2) 0); }
.fx-v12-ch-rings-15250 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.fx-v12-ch-rings-15250 li { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.fx-v12-ch-rings-15250 li b { width: 10px; height: 10px; border-radius: 50%; }
.fx-v12-ch-rings-15250 li:nth-child(1) b { background: #ec4899; }
.fx-v12-ch-rings-15250 li:nth-child(2) b { background: #84cc16; }
.fx-v12-ch-rings-15250 li:nth-child(3) b { background: #06b6d4; }
.fx-v12-ch-rings-15250 li em { font-style: normal; color: #94a3b8; }
.fx-v12-ch-rings-15250:hover .rings i { filter: brightness(1.2) drop-shadow(0 0 4px currentColor); }<div class="fx-v12-ch-rings-15250">
<div class="rings">
<i></i>
<i></i>
<i></i>
</div>
<ul>
<li><b></b>Move <em>78%</em></li>
<li><b></b>Exercise <em>55%</em></li>
<li><b></b>Stand <em>92%</em></li>
</ul>
</div>What do I do with this?
- Put
activity-rings-chart-15251.cssanywhere your page already loads CSS from — in Next.js that isapp/globals.css, or any stylesheet with a<link>in your HTML. - Then put the class on the element you want it on:
<button class="fx-v12-ch-rings-15250">. The CSS does nothing until a class name in it matches something on the page.
- Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add activity-rings-chart-15251What's included
- The markup and the stylesheet, in whichever framework you pick
- No runtime dependencies
Works with
- React
- Vue
- Svelte
- Tailwind
- styled-components
- Plain CSS
npx hoverlab add activity-rings-chart-15251
Or over MCP, from your editor's agent — no account needed.
License
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Motion safety
Static estimate, read from the CSS
- Reduced motion
- Brief motion, no guard
Animates briefly or on interaction. Only looping motion gets a guard in this catalog; copy the one from the Insights tab if this ships on a critical path.
- What it animates
- Compositor only
Only
transform,opacityorfilter: the GPU can run it without re-laying-out or repainting the page. - Flashing (WCAG 2.3.1)
- No flashing found
No repeating change in opacity, colour or brightness large enough to count as a flash.
- Layout shift (CLS)
- No shift expected
Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.
Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed
35 more effects in Charts & Data
All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.
Browse Charts & DataShipping one commercially
Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
- A commercial licence for everything in the catalog
- Unlimited bundle exports, in Vue, Svelte and Tailwind
- One payment — no subscription, nothing to renew
7 variations of Activity Rings Chart
Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.