Unlock every premium block and template with All-Access from $20 / 3 months, cancel anytime. Get All-Access
All blocks
Free Stats

Thrivera Stats

A stats block extracted from the Thrivera template, available in Tailwind CSS.

0 23
Thrivera Stats preview

Download Codebase

Commercial License

Free download · up to 5 blocks per day. Unlimited with All-Access

thrivera.html
<!DOCTYPE html>
<html lang="en">
<head>
  <script>
    window.FontAwesomeConfig = { autoReplaceSvg: 'nest' };
  </script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Thrivera Stats | Tailwind CSS UI Block</title>
  <meta name="description" content="A stats block extracted from the Thrivera template, available in Tailwind CSS.">
  <meta name="keywords" content="Thrivera, Tailwind CSS template, HTML website template, mental health template, wellbeing consultancy, workplace mental health, therapy practice, nonprofit health program, evidence-based care">
  <meta name="author" content="Let's templates">
  <link rel="canonical" href="">

  <meta property="og:type" content="product">
  <meta property="og:site_name" content="Let's templates">
  <meta property="og:locale" content="en_US">
  <meta property="og:url" content="">
  <meta property="og:title" content="Thrivera | Tailwind CSS Health & Fitness Template">
  <meta property="og:description" content="A dark, editorial Tailwind CSS mental health template with an oversized photo headline, audience tabs, impact stats and a discovery call booking flow.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Thrivera template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Thrivera | Tailwind CSS Health & Fitness Template">
  <meta name="twitter:description" content="A dark, editorial Tailwind CSS mental health template with an oversized photo headline, audience tabs, impact stats and a discovery call booking flow.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Thrivera template preview">
  <script src="https://cdn.tailwindcss.com/3.4.17"></script>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link href="https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=Hanken+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { coal: '#2d2829', ash: '#3a3435', cream: '#f7f1f5', lilac: '#f2dff7', cobalt: '#3d4ed8' },
          fontFamily: { sans: ['"Hanken Grotesk"', 'sans-serif'], hand: ['Caveat', 'cursive'] }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    ::view-transition-old(root) { animation: 180ms ease-out both page-fade-out; }
    ::view-transition-new(root) { animation: 220ms ease-in both page-fade-in; }
    @keyframes page-fade-out { to { opacity: 0; } }
    @keyframes page-fade-in { from { opacity: 0; } }
    html { scroll-behavior: smooth; }
    .reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0ms); }
    .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-coal font-sans text-cream antialiased">
<!-- block:start stats -->
  <section class="bg-cream text-coal">
    <div class="mx-auto max-w-6xl px-5 py-20 md:px-8 md:py-28">
      <div class="grid gap-10 md:grid-cols-[1fr_1.4fr] md:items-end">
        <h2 class="text-4xl font-semibold leading-tight tracking-tight md:text-6xl">Proof, not promises</h2>
        <p class="text-lg text-coal/70 md:text-xl">Every program we run is measured against a baseline. Here is what our partners have reported since we started tracking in 2019.</p>
      </div>
      <dl class="mt-14 grid grid-cols-2 gap-px overflow-hidden rounded-xl bg-coal/15 lg:grid-cols-4">
          <div data-reveal style="--reveal-delay: 0ms" class="flex flex-col bg-cream p-6 md:p-8">
            <dt class="order-2 mt-2 text-coal/70">partner organisations</dt>
            <dd class="order-1 text-5xl font-semibold tracking-tight md:text-6xl"><span data-count-to="140" data-count-suffix="+">140+</span></dd>
          </div>
          <div data-reveal style="--reveal-delay: 100ms" class="flex flex-col bg-cream p-6 md:p-8">
            <dt class="order-2 mt-2 text-coal/70">people reached each year</dt>
            <dd class="order-1 text-5xl font-semibold tracking-tight md:text-6xl"><span data-count-to="62" data-count-suffix="k">62k</span></dd>
          </div>
          <div data-reveal style="--reveal-delay: 200ms" class="flex flex-col bg-cream p-6 md:p-8">
            <dt class="order-2 mt-2 text-coal/70">average drop in burnout scores</dt>
            <dd class="order-1 text-5xl font-semibold tracking-tight md:text-6xl"><span data-count-to="31" data-count-suffix="%">31%</span></dd>
          </div>
          <div data-reveal style="--reveal-delay: 300ms" class="flex flex-col bg-cream p-6 md:p-8">
            <dt class="order-2 mt-2 text-coal/70">peer-reviewed studies behind our methods</dt>
            <dd class="order-1 text-5xl font-semibold tracking-tight md:text-6xl"><span data-count-to="24" data-count-suffix="">24</span></dd>
          </div>
      </dl>
    </div>
  </section>
  <!-- block:end stats -->
<script>
    document.querySelectorAll('[data-menu-toggle]').forEach((button) => {
      const menu = document.getElementById(button.getAttribute('aria-controls'));
      if (!menu) return;
      button.addEventListener('click', () => {
        const open = button.getAttribute('aria-expanded') === 'true';
        button.setAttribute('aria-expanded', String(!open));
        button.setAttribute('aria-label', open ? 'Open menu' : 'Close menu');
        menu.classList.toggle('hidden', open);
      });
    });

    document.querySelectorAll('[data-tabs]').forEach((tablist) => {
      const tabs = [...tablist.querySelectorAll('[role="tab"]')];
      const select = (tab) => {
        tabs.forEach((other) => {
          const active = other === tab;
          other.setAttribute('aria-selected', String(active));
          other.tabIndex = active ? 0 : -1;
          document.getElementById(other.getAttribute('aria-controls')).classList.toggle('hidden', !active);
        });
      };
      tabs.forEach((tab, index) => {
        tab.addEventListener('click', () => select(tab));
        tab.addEventListener('keydown', (event) => {
          const step = { ArrowRight: 1, ArrowLeft: -1 }[event.key];
          if (!step) return;
          const next = tabs[(index + step + tabs.length) % tabs.length];
          next.focus();
          select(next);
        });
      });
    });

    document.querySelectorAll('[data-carousel]').forEach((carousel) => {
      const track = carousel.querySelector('[data-carousel-track]');
      if (!track) return;
      const slides = [...track.children];
      const dots = carousel.querySelector('[data-carousel-dots]');
      let index = 0;
      const perView = () => Math.max(1, Math.round(track.clientWidth / slides[0].clientWidth));
      const maxIndex = () => Math.max(0, slides.length - perView());
      const render = () => {
        track.style.transform = `translateX(-${index * slides[0].clientWidth}px)`;
        dots?.querySelectorAll('button').forEach((dot, i) => dot.setAttribute('aria-current', String(i === index)));
      };
      const go = (next) => { const max = maxIndex(); index = next > max ? 0 : next < 0 ? max : next; render(); };
      const buildDots = () => {
        if (!dots) return;
        dots.innerHTML = '';
        for (let i = 0; i <= maxIndex(); i++) {
          const dot = document.createElement('button');
          dot.type = 'button';
          dot.className = 'h-2.5 w-2.5 rounded-full bg-current opacity-30 aria-[current=true]:w-8 aria-[current=true]:opacity-100 transition-all';
          dot.setAttribute('aria-label', `Go to review ${i + 1}`);
          dot.addEventListener('click', () => go(i));
          dots.append(dot);
        }
      };
      carousel.querySelector('[data-carousel-prev]')?.addEventListener('click', () => go(index - 1));
      carousel.querySelector('[data-carousel-next]')?.addEventListener('click', () => go(index + 1));
      addEventListener('resize', () => { buildDots(); go(Math.min(index, maxIndex())); });
      buildDots();
      render();
    });

    document.querySelectorAll('[data-billing-toggle]').forEach((toggle) => {
      toggle.addEventListener('click', () => {
        const yearly = toggle.getAttribute('aria-checked') !== 'true';
        toggle.setAttribute('aria-checked', String(yearly));
        document.querySelectorAll('[data-price-monthly]').forEach((price) => {
          price.textContent = `$${yearly ? price.dataset.priceYearly : price.dataset.priceMonthly}`;
        });
        document.querySelectorAll('[data-billing-label]').forEach((label) => { label.textContent = yearly ? '/ month, billed yearly' : '/ month'; });
      });
    });

    document.querySelectorAll('[data-filter-group]').forEach((group) => {
      const items = group.parentElement.querySelectorAll('[data-filter-items] [data-category]');
      const activeClasses = ['bg-cream', 'text-coal'];
      group.addEventListener('click', (event) => {
        const button = event.target.closest('[data-filter]');
        if (!button) return;
        const filter = button.dataset.filter;
        group.querySelectorAll('[data-filter]').forEach((chip) => {
          const active = chip === button;
          chip.setAttribute('aria-pressed', String(active));
          activeClasses.forEach((cls) => chip.classList.toggle(cls, active));
        });
        items.forEach((item) => { item.hidden = !(filter === 'all' || item.dataset.category.split(' ').includes(filter)); });
      });
    });

    document.querySelectorAll('[data-contact-form]').forEach((form) => {
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        const status = form.querySelector('[data-form-status]');
        if (!form.checkValidity()) {
          status.textContent = form.dataset.error;
          return;
        }
        status.textContent = form.dataset.success;
        form.reset();
      });
    });

    document.querySelectorAll('[data-current-year]').forEach((el) => { el.textContent = new Date().getFullYear(); });

    (() => {
      const counters = document.querySelectorAll('[data-count-to]');
      if (!counters.length || navigator.webdriver || matchMedia('(prefers-reduced-motion: reduce)').matches || !('IntersectionObserver' in window)) return;
      const observer = new IntersectionObserver((entries) => {
        entries.forEach(({ isIntersecting, target }) => {
          if (!isIntersecting) return;
          observer.unobserve(target);
          const end = Number(target.dataset.countTo);
          const suffix = target.dataset.countSuffix || '';
          const start = performance.now();
          const tick = (now) => {
            const progress = Math.min((now - start) / 1200, 1);
            target.textContent = Math.round(end * progress).toLocaleString() + suffix;
            if (progress < 1) requestAnimationFrame(tick);
          };
          requestAnimationFrame(tick);
        });
      });
      counters.forEach((counter) => observer.observe(counter));
    })();

    (() => {
      const items = document.querySelectorAll('[data-reveal]');
      const skip = navigator.webdriver || !('IntersectionObserver' in window) || matchMedia('(prefers-reduced-motion: reduce)').matches;
      if (!items.length || skip) return;
      document.documentElement.classList.add('reveal-ready');
      const observer = new IntersectionObserver((entries) => {
        entries.forEach((entry) => {
          if (!entry.isIntersecting) return;
          entry.target.classList.add('is-visible');
          observer.unobserve(entry.target);
        });
      }, { rootMargin: '0px 0px -10% 0px' });
      items.forEach((item) => observer.observe(item));
    })();
  </script>
<!-- Optional credit — delete this block if you prefer a clean footer -->
<p class="lt-built-with" style="margin:0;padding:12px 16px;text-align:center;font:500 11px/1.4 system-ui,-apple-system,sans-serif;color:#9ca3af;">Built with <a href="https://letstemplates.com" style="color:#059669;text-decoration:none;">Let's templates</a></p>
</body>
</html>

From this template

Thrivera screenshot Premium

Health & Fitness

Thrivera

Unlimited access to all products

Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.

$20 / 3 months or $60 / year
Get Unlimited Access