Live Counter Tile
A copy-paste kpi & dashboard widgets component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
KPI & Dashboard WidgetsHTMLCSSany framework
LIVE
12,047
Concurrent Visitors
Copy into your project
HTML
<div class="nuda-kpi-live">
<div class="nuda-kpi-live__pulse-wrap">
<span class="nuda-kpi-live__pulse"></span>
<span class="nuda-kpi-live__status">LIVE</span>
</div>
<div class="nuda-kpi-live__num">12,047</div>
<div class="nuda-kpi-live__label">Concurrent Visitors</div>
<div class="nuda-kpi-live__ticks">
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
<span class="nuda-kpi-live__tick"></span>
</div>
</div>CSS
.nuda-kpi-live {
background: #141414;
border: 1px solid rgba(255,255,255,.1);
border-radius: 14px;
padding: 1.1rem 1.3rem;
display: flex;
flex-direction: column;
gap: .45rem;
min-width: 200px;
}
.nuda-kpi-live__pulse-wrap {
display: flex;
align-items: center;
gap: .45rem;
}
.nuda-kpi-live__pulse {
width: 8px;
height: 8px;
border-radius: 50%;
background: #ff6b6b;
animation: _nuda-kpiPulse 1.2s infinite;
}
.nuda-kpi-live__status {
color: #ff6b6b;
font-size: .65rem;
font-weight: 700;
letter-spacing: .1em;
}
.nuda-kpi-live__num {
color: #fafafa;
font-size: 2rem;
font-weight: 800;
letter-spacing: -.04em;
line-height: 1.1;
}
.nuda-kpi-live__label {
color: #555;
font-size: .72rem;
}
.nuda-kpi-live__ticks {
display: flex;
align-items: flex-end;
gap: 2px;
height: 28px;
margin-top: .4rem;
}
.nuda-kpi-live__tick {
display: block;
width: 5px;
background: rgba(255,107,107,.5);
border-radius: 1px;
animation: _nuda-kpiTick .8s ease-in-out infinite alternate;
}
.nuda-kpi-live__tick:nth-child(odd) {
height: 60%;
}
.nuda-kpi-live__tick:nth-child(even) {
height: 85%;
}
@keyframes _nuda-kpiPulse {
0%,100% {
box-shadow: 0 0 0 0 rgba(255,107,107,.5);
}
50% {
box-shadow: 0 0 0 6px rgba(255,107,107,0);
}
}
@keyframes _nuda-kpiTick {
from {
transform: scaleY(.5);
}
to {
transform: scaleY(1);
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-kpi-live__pulse,.nuda-kpi-live__tick {
animation: none;
}
}
How to use Live Counter Tile
Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.
Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.