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

Symbiora Stats

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

0 7
Symbiora Stats preview

Download Codebase

Commercial License

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

symbiora.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>Symbiora Stats | Tailwind CSS UI Block</title>
  <meta name="description" content="A stats block extracted from the Symbiora template, available in Tailwind CSS.">
  <meta name="keywords" content="Symbiora, Tailwind CSS template, HTML website template, health template, microbiome test, gut health, nutrition, supplements, telehealth, wellness app">
  <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="Symbiora | Tailwind CSS Health Template">
  <meta property="og:description" content="A clean Tailwind CSS gut health and microbiome test template with a goal switcher, product tabs, a health score chart and member stories.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Symbiora template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Symbiora | Tailwind CSS Health Template">
  <meta name="twitter:description" content="A clean Tailwind CSS gut health and microbiome test template with a goal switcher, product tabs, a health score chart and member stories.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Symbiora 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=Fraunces:opsz,wght@9..144,300;9..144,400&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { ink: '#121212', mist: '#f4f3f0', line: '#e6e4df', leaf: { DEFAULT: '#2e9e62', soft: '#e3f3ea' }, violet: '#8b7cf6', sky: '#4aa3df', amber: '#f2b33d' },
          fontFamily: { serif: ['Fraunces', 'serif'], sans: ['"Plus Jakarta Sans"', 'sans-serif'] }
        }
      }
    }
  </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; } }
    @keyframes ticker { to { transform: translateX(-50%); } }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .ticker { animation: ticker 28s linear infinite; }
    .ticker:hover { animation-play-state: paused; }
    .reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s 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; }
      .ticker { animation: none; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-mist font-sans text-ink antialiased">
<!-- block:start stats -->
  <section class="mx-auto max-w-7xl px-5 py-20 md:px-10" data-score-chart>
    <div class="flex flex-wrap items-end justify-between gap-6">
      <div>
        <p class="inline-flex rounded-full border border-line px-3 py-1 text-xs font-medium">Health score</p>
        <h2 class="mt-4 max-w-lg font-serif text-4xl font-light leading-tight md:text-5xl">Raise your gut score by up to <span class="text-leaf"><span data-gain>32</span>%</span></h2>
      </div>
      <div>
        <p class="max-w-xs text-sm text-ink/70">Average change for members who followed their plan.</p>
        <div class="mt-3 inline-flex rounded-full bg-mist p-1 text-sm font-medium" role="group" aria-label="Time range">
            <button type="button" data-range="4" aria-pressed="true" class="rounded-full px-4 py-2 transition aria-pressed:bg-ink aria-pressed:text-white">4 weeks</button>
            <button type="button" data-range="12" aria-pressed="false" class="rounded-full px-4 py-2 transition aria-pressed:bg-ink aria-pressed:text-white">6 months</button>
        </div>
      </div>
    </div>
    <div class="relative mt-12">
      <svg viewBox="-20 -30 1040 360" class="w-full overflow-visible" role="img" aria-label="Line chart of the average gut health score over time">
        <path d="M0 144 C167 144 167 117 333 117 C500 117 500 90 667 90 C834 90 834 48 1000 48" fill="none" stroke="#121212" stroke-width="2.5" data-chart-line style="transition: d .6s ease"/>
        <g data-chart-points>
            <g><line x1="0" x2="0" y1="144" y2="300" stroke="#121212" stroke-opacity=".25" stroke-dasharray="3 5"/><circle cx="0" cy="144" r="7" fill="#121212"/><text x="0" y="126" text-anchor="middle" font-size="22" fill="#121212">52</text><text x="0" y="340" text-anchor="middle" font-size="22" fill="#121212" fill-opacity=".6">Week 1</text></g>
            <g><line x1="333" x2="333" y1="117" y2="300" stroke="#121212" stroke-opacity=".25" stroke-dasharray="3 5"/><circle cx="333" cy="117" r="7" fill="#121212"/><text x="333" y="99" text-anchor="middle" font-size="22" fill="#121212">61</text><text x="333" y="340" text-anchor="middle" font-size="22" fill="#121212" fill-opacity=".6">Week 2</text></g>
            <g><line x1="667" x2="667" y1="90" y2="300" stroke="#121212" stroke-opacity=".25" stroke-dasharray="3 5"/><circle cx="667" cy="90" r="7" fill="#121212"/><text x="667" y="72" text-anchor="middle" font-size="22" fill="#121212">70</text><text x="667" y="340" text-anchor="middle" font-size="22" fill="#121212" fill-opacity=".6">Week 3</text></g>
            <g><line x1="1000" x2="1000" y1="48" y2="300" stroke="#121212" stroke-opacity=".25" stroke-dasharray="3 5"/><circle cx="1000" cy="48" r="7" fill="#121212"/><text x="1000" y="30" text-anchor="middle" font-size="22" fill="#121212">84</text><text x="1000" y="340" text-anchor="middle" font-size="22" fill="#121212" fill-opacity=".6">Week 4</text></g>
        </g>
      </svg>
    </div>
    <script type="application/json" data-chart-data>{"4":{"d":"M0 144 C167 144 167 117 333 117 C500 117 500 90 667 90 C834 90 834 48 1000 48","points":[[0,144],[333,117],[667,90],[1000,48]],"values":[52,61,70,84],"labels":["Week 1","Week 2","Week 3","Week 4"],"gain":32},"12":{"d":"M0 156 C100 156 100 135 200 135 C300 135 300 111 400 111 C500 111 500 84 600 84 C700 84 700 60 800 60 C900 60 900 42 1000 42","points":[[0,156],[200,135],[400,111],[600,84],[800,60],[1000,42]],"values":[48,55,63,72,80,86],"labels":["Jan","Feb","Mar","Apr","May","Jun"],"gain":38}}</script>
  </section>
  <!-- block:end stats -->
<script>
    const reducedMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
    const watchMotion = !reducedMotion && !navigator.webdriver && 'IntersectionObserver' in window;

    document.querySelectorAll('[data-menu-toggle]').forEach((button) => {
      const menu = document.getElementById(button.getAttribute('aria-controls'));
      button.addEventListener('click', () => {
        const open = button.getAttribute('aria-expanded') === 'true';
        button.setAttribute('aria-expanded', String(!open));
        menu.classList.toggle('hidden', open);
      });
    });

    document.querySelectorAll('[data-goals]').forEach((root) => {
      const data = JSON.parse(root.querySelector('[data-goal-data]').textContent);
      const tints = { digestion: '#a7dcc0', energy: '#f7d58a', sleep: '#c9c1fb' };
      const select = root.querySelector('[data-goal]');
      select.addEventListener('change', () => {
        const [, text, product, meta] = data[select.value];
        root.querySelector('[data-goal-text]').textContent = text;
        root.querySelector('[data-goal-product]').textContent = product;
        root.querySelector('[data-goal-meta]').textContent = meta;
        root.querySelector('[data-goal-bottle] rect:nth-of-type(3)').setAttribute('fill', tints[select.value]);
      });
    });

    document.querySelectorAll('[data-questions]').forEach((root) => {
      const buttons = [...root.querySelectorAll('[data-question]')];
      buttons.forEach((button) => button.addEventListener('click', () => {
        const open = button.getAttribute('aria-pressed') !== 'true';
        buttons.forEach((other) => other.setAttribute('aria-pressed', String(open && other === button)));
        root.querySelectorAll('[data-answer]').forEach((answer) => { answer.hidden = !open || answer.dataset.answer !== button.dataset.question; });
      }));
    });

    document.querySelectorAll('[data-suite]').forEach((root) => {
      const tabs = [...root.querySelectorAll('[role="tab"]')];
      const select = (tab, focus) => {
        tabs.forEach((other) => { const on = other === tab; other.setAttribute('aria-selected', String(on)); other.tabIndex = on ? 0 : -1; document.getElementById(other.getAttribute('aria-controls')).hidden = !on; });
        if (focus) tab.focus();
      };
      tabs.forEach((tab, i) => {
        tab.addEventListener('click', () => select(tab));
        tab.addEventListener('keydown', (event) => {
          if (event.key === 'ArrowRight') select(tabs[(i + 1) % tabs.length], true);
          if (event.key === 'ArrowLeft') select(tabs[(i - 1 + tabs.length) % tabs.length], true);
        });
      });
    });

    document.querySelectorAll('[data-journal]').forEach((root) => {
      const notes = JSON.parse(root.querySelector('[data-journal-data]').textContent);
      const days = [...root.querySelectorAll('[data-day]')];
      days.forEach((day) => day.addEventListener('click', () => {
        days.forEach((other) => other.setAttribute('aria-pressed', String(other === day)));
        root.querySelector('[data-day-number]').textContent = day.dataset.day;
        root.querySelector('[data-day-note]').textContent = notes[day.dataset.day];
      }));
    });

    document.querySelectorAll('[data-score-chart]').forEach((root) => {
      const data = JSON.parse(root.querySelector('[data-chart-data]').textContent);
      const ns = 'http://www.w3.org/2000/svg';
      const draw = (key) => {
        const range = data[key];
        root.querySelector('[data-chart-line]').setAttribute('d', range.d);
        root.querySelector('[data-gain]').textContent = range.gain;
        const group = root.querySelector('[data-chart-points]');
        group.replaceChildren(...range.points.map(([x, y], i) => {
          const g = document.createElementNS(ns, 'g');
          g.innerHTML = `<line x1="${x}" x2="${x}" y1="${y}" y2="300" stroke="#121212" stroke-opacity=".25" stroke-dasharray="3 5"/><circle cx="${x}" cy="${y}" r="7" fill="#121212"/><text x="${x}" y="${y - 18}" text-anchor="middle" font-size="22" fill="#121212">${range.values[i]}</text><text x="${x}" y="340" text-anchor="middle" font-size="22" fill="#121212" fill-opacity=".6">${range.labels[i]}</text>`;
          return g;
        }));
      };
      const buttons = [...root.querySelectorAll('[data-range]')];
      buttons.forEach((button) => button.addEventListener('click', () => {
        buttons.forEach((other) => other.setAttribute('aria-pressed', String(other === button)));
        draw(button.dataset.range);
      }));
    });

    document.querySelectorAll('[data-voices]').forEach((root) => {
      const buttons = [...root.querySelectorAll('[data-voice-button]')];
      buttons.forEach((button) => button.addEventListener('click', () => {
        buttons.forEach((other) => other.setAttribute('aria-pressed', String(other === button)));
        root.querySelectorAll('[data-voice]').forEach((voice) => { voice.hidden = voice.dataset.voice !== button.dataset.voiceButton; });
      }));
    });

    document.querySelectorAll('[data-news-form]').forEach((form) => {
      const status = form.parentElement.querySelector('[data-form-status]');
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        const email = form.querySelector('[name="email"]');
        if (!email.value.trim() || !email.checkValidity()) { status.textContent = 'Please enter a valid email address.'; email.focus(); return; }
        status.textContent = `Welcome. The next Gut Letter goes to ${email.value}.`;
        form.reset();
      });
    });

    if (watchMotion) {
      document.documentElement.classList.add('reveal-ready');
      const observer = new IntersectionObserver((entries) => entries.forEach((entry) => {
        if (entry.isIntersecting) { entry.target.classList.add('is-visible'); observer.unobserve(entry.target); }
      }), { threshold: 0.15 });
      document.querySelectorAll('[data-reveal]').forEach((el) => observer.observe(el));
    }
  </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

Symbiora screenshot Premium

Health & Fitness

Symbiora

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