Skip to content

Big Number Tile

A copy-paste kpi & dashboard widgets component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

KPI & Dashboard WidgetsHTMLCSSany framework
📦
1,204,839
Total Orders Processed

Copy into your project

HTML
<div class="nuda-kpi-bignumber">
  <div class="nuda-kpi-bignumber__icon">📦</div>
  <div class="nuda-kpi-bignumber__val">1,204,839</div>
  <div class="nuda-kpi-bignumber__label">Total Orders Processed</div>
  <div class="nuda-kpi-bignumber__bar">
    <div class="nuda-kpi-bignumber__bar-fill"></div>
  </div>
</div>
CSS
.nuda-kpi-bignumber {
  background: linear-gradient(135deg,#1a1a1a 60%,#1f2200);
  border: 1px solid rgba(228,255,84,.15);
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-width: 220px;
}

.nuda-kpi-bignumber__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.nuda-kpi-bignumber__val {
  color: #e4ff54;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.nuda-kpi-bignumber__label {
  color: #777;
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.nuda-kpi-bignumber__bar {
  height: 3px;
  background: rgba(255,255,255,.07);
  border-radius: 2px;
  margin-top: .4rem;
  overflow: hidden;
}

.nuda-kpi-bignumber__bar-fill {
  height: 100%;
  width: 82%;
  background: #e4ff54;
  border-radius: 2px;
  animation: _nuda-kpiBarGrow .8s ease-out;
}

@keyframes _nuda-kpiBarGrow {
  from {
    width: 0;
  }
  to {
    width: 82%;
  }
}

@media (prefers-reduced-motion:reduce) {
  .nuda-kpi-bignumber__bar-fill {
    animation: none;
  }
}

How to use Big Number 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.

More kpi & dashboard widgets components

← Browse all NudaUI components