Skip to content

Numbered Stat Quote

A copy-paste quotes & testimonials component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Quotes & TestimonialsHTMLCSSany framework
3xfaster

“We cut our release cycle from six weeks to under two.”

Marcus Lee · VP Eng, Helio

Copy into your project

HTML
<article class="nuda-stat-quote">
  <div class="nuda-stat-quote__stat">
    <span class="nuda-stat-quote__num">3<small>x</small></span>
    <span class="nuda-stat-quote__suffix">faster</span>
  </div>
  <p class="nuda-stat-quote__body">
    &ldquo;We cut our release cycle from six weeks to under two.&rdquo;
  </p>
  <footer class="nuda-stat-quote__cite">Marcus Lee &middot; VP Eng, Helio</footer>
</article>
CSS
/* Numbered Stat Quote
   Big gradient number leads a supporting quote. */

.nuda-stat-quote {
  max-width: 380px;
  padding: 1.5rem;
  background: #0c0c10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #fafafa;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.nuda-stat-quote__stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.nuda-stat-quote__num {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #e4ff54, #b8cc43);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: baseline;
}

.nuda-stat-quote__num small {
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 0.125rem;
}

.nuda-stat-quote__suffix {
  font-size: 0.875rem;
  font-weight: 500;
  color: #a0a0a8;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.nuda-stat-quote__body {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.nuda-stat-quote__cite {
  font-size: 0.75rem;
  color: #63636e;
}

How to use Numbered Stat Quote

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 quotes & testimonials components

← Browse all NudaUI components