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

Northline Stats

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

0 30
Northline Stats preview

Download Codebase

Commercial License

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

northline.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>Northline Stats | Tailwind CSS UI Block</title>
  <meta name="description" content="A stats block extracted from the Northline template, available in Tailwind CSS.">
  <meta name="keywords" content="Northline, Tailwind CSS template, HTML website template, agency template, creative studio, branding agency, UI UX design studio, case studies, responsive agency design">
  <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="Northline | Tailwind CSS Creative Agency Template">
  <meta property="og:description" content="A bold, neon-accented Tailwind CSS agency template for creative studios, product designers, and branding teams with 3D hero tiles, stat cards, case studies, pricing, and testimonials.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Northline template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Northline | Tailwind CSS Creative Agency Template">
  <meta name="twitter:description" content="A bold, neon-accented Tailwind CSS agency template for creative studios, product designers, and branding teams with 3D hero tiles, stat cards, case studies, pricing, and testimonials.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Northline template preview">
  <script src="https://cdn.tailwindcss.com/3.4.17"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&amp;family=Inter:wght@300;400;500;600&amp;family=JetBrains+Mono:wght@400;500&amp;display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            night: '#07051a',
            indigo: '#110766',
            royal: '#4b3fd6',
            violet: '#a259ff',
            lilac: '#dcd6ff',
            lime: '#c8ff4a',
            coral: '#ff5a5f',
            cream: '#fdebd8'
          },
          fontFamily: {
            sans: ['Inter', 'ui-sans-serif', 'system-ui', 'sans-serif'],
            display: ['"Bebas Neue"', 'Impact', 'sans-serif'],
            mono: ['"JetBrains Mono"', 'ui-monospace', 'monospace']
          }
        }
      }
    };
  </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; }
    .no-scrollbar { scrollbar-width: none; }
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .hero-glow { background: radial-gradient(60% 45% at 50% 78%, rgba(120, 180, 255, .35), transparent 70%), radial-gradient(80% 60% at 50% 40%, rgba(162, 89, 255, .18), transparent 70%), #0b0822; }
    .platform { background: radial-gradient(closest-side, #f3dcff, #d9b3ff 70%, #b98bff); box-shadow: 0 0 80px 20px rgba(200, 150, 255, .45), inset 0 0 0 10px rgba(255,255,255,.35); }
    .tile { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 1.4rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 -10px 20px rgba(0,0,0,.25), inset 0 6px 12px rgba(255,255,255,.2); animation: float 7s ease-in-out infinite; animation-delay: var(--delay, 0s); }
    @keyframes float { 50% { translate: 0 -14px; } }
    .stripes { background: repeating-linear-gradient(0deg, #ffffff 0 18px, #e4e0ff 18px 24px); }
    .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; }
      .tile { animation: none; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-night font-sans text-white antialiased overflow-x-hidden">
<!-- block:start stats -->
    <section id="impact" class="relative overflow-hidden bg-lilac text-night">
      <div class="stripes absolute inset-x-0 top-0 h-[80%]" aria-hidden="true"></div>
      <div class="relative mx-auto grid max-w-[1440px] gap-10 px-5 py-20 md:px-20 lg:grid-cols-2 lg:py-28">
        <div>
          <h2 class="font-display text-[17vw] leading-[0.9] md:text-[124px] lg:text-[136px]">Bold ideas<br>built <img src="https://images.unsplash.com/photo-1684158100445-8e6926faf964?auto=format&fit=crop&w=500&q=80" alt="" class="inline-block h-[0.82em] w-[1.2em] object-cover align-[-0.08em]"> to<br>make a mark</h2>
          <p class="mt-8 max-w-[20rem] font-mono text-sm uppercase leading-snug">We treat every brief with care. If something is worth making, it is worth making properly.</p>
        </div>
        <div data-stat-slider>
          <div data-stat-track class="no-scrollbar grid snap-x snap-mandatory auto-cols-[85%] grid-flow-col gap-5 overflow-x-auto sm:auto-cols-auto sm:grid-flow-row sm:grid-cols-2">
              <article class="bg-lime text-night flex min-h-[300px] snap-start flex-col justify-between p-5 md:min-h-[330px] sm:col-start-2" data-reveal style="--reveal-delay: 0ms">
                <div class="flex items-start justify-between gap-4">
                  <h3 class="max-w-[12ch] font-mono text-xl uppercase leading-tight md:text-2xl">Projects shipped this year</h3>
                  <span class="inline-flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-night text-white"><i class="fa-solid fa-trophy"></i></span>
                </div>
                <p class="font-display text-8xl leading-none md:text-[120px]"><span data-count-to="120">120</span><span class="text-6xl">++</span></p>
              </article>
              <article class="bg-violet text-white flex min-h-[300px] snap-start flex-col justify-between p-5 md:min-h-[330px] " data-reveal style="--reveal-delay: 120ms">
                <div class="flex items-start justify-between gap-4">
                  <h3 class="max-w-[12ch] font-mono text-xl uppercase leading-tight md:text-2xl">Client challenges cracked</h3>
                  <span class="inline-flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-night text-white"><i class="fa-solid fa-award"></i></span>
                </div>
                <p class="font-display text-8xl leading-none md:text-[120px]"><span data-count-to="98">98</span><span class="text-6xl">%</span></p>
              </article>
              <article class="bg-coral text-white flex min-h-[300px] snap-start flex-col justify-between p-5 md:min-h-[330px] " data-reveal style="--reveal-delay: 240ms">
                <div class="flex items-start justify-between gap-4">
                  <h3 class="max-w-[12ch] font-mono text-xl uppercase leading-tight md:text-2xl">Brands backing us across the globe</h3>
                  <span class="inline-flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-night text-white"><i class="fa-solid fa-face-smile"></i></span>
                </div>
                <p class="font-display text-8xl leading-none md:text-[120px]"><span data-count-to="45">45</span><span class="text-6xl">++</span></p>
              </article>
          </div>
          <div class="mt-8 flex justify-end gap-2" data-stat-dots>
              <button type="button" data-stat-dot="0" aria-label="Show stat 1" aria-current="true" class="h-1.5 w-7 rounded-full bg-night/15 transition-all aria-[current=true]:w-14 aria-[current=true]:bg-night"></button>
              <button type="button" data-stat-dot="1" aria-label="Show stat 2" aria-current="false" class="h-1.5 w-7 rounded-full bg-night/15 transition-all aria-[current=true]:w-14 aria-[current=true]:bg-night"></button>
              <button type="button" data-stat-dot="2" aria-label="Show stat 3" aria-current="false" class="h-1.5 w-7 rounded-full bg-night/15 transition-all aria-[current=true]:w-14 aria-[current=true]:bg-night"></button>
          </div>
        </div>
      </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));
        menu.classList.toggle("hidden", open);
      });
    });

    document.querySelectorAll("[data-stat-slider]").forEach((slider) => {
      const track = slider.querySelector("[data-stat-track]");
      const dots = [...slider.querySelectorAll("[data-stat-dot]")];
      const cards = [...track.children];
      const mark = (active) => dots.forEach((dot, i) => dot.setAttribute("aria-current", String(i === active)));
      dots.forEach((dot, i) => dot.addEventListener("click", () => {
        mark(i);
        cards[i].animate([{ transform: "scale(1)" }, { transform: "scale(1.03)" }, { transform: "scale(1)" }], { duration: 400 });
        if (track.scrollWidth > track.clientWidth) track.scrollTo({ left: cards[i].offsetLeft - track.offsetLeft, behavior: "smooth" });
      }));
      track.addEventListener("scroll", () => {
        const index = Math.round(track.scrollLeft / (cards[0].offsetWidth || 1));
        mark(Math.min(index, cards.length - 1));
      }, { passive: true });
    });

    document.querySelectorAll("[data-case-slider]").forEach((slider) => {
      const track = slider.querySelector("[data-case-track]");
      const step = () => (track.firstElementChild?.offsetWidth || 400) + 40;
      const move = (direction) => {
        const max = track.scrollWidth - track.clientWidth - 4;
        if (direction > 0 && track.scrollLeft >= max) return track.scrollTo({ left: 0 });
        if (direction < 0 && track.scrollLeft <= 4) return track.scrollTo({ left: track.scrollWidth });
        track.scrollBy({ left: direction * step() });
      };
      slider.querySelector("[data-case-prev]")?.addEventListener("click", () => move(-1));
      slider.querySelector("[data-case-next]")?.addEventListener("click", () => move(1));
    });

    document.querySelectorAll("[data-review-slider]").forEach((slider) => {
      const people = [...slider.querySelectorAll("[data-review-person]")];
      const quotes = [...slider.querySelectorAll("[data-review-quote]")];
      let index = 0;
      const show = (next) => {
        index = (next + quotes.length) % quotes.length;
        people.forEach((item, i) => { item.hidden = i !== index; });
        quotes.forEach((item, i) => { item.hidden = i !== index; });
      };
      slider.querySelector("[data-review-prev]")?.addEventListener("click", () => show(index - 1));
      slider.querySelector("[data-review-next]")?.addEventListener("click", () => show(index + 1));
    });

    document.querySelectorAll("[data-newsletter]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        const note = form.querySelector("[data-newsletter-note]");
        if (note) note.hidden = false;
        form.reset();
      });
    });

    (() => {
      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 start = performance.now();
          const tick = (now) => {
            const progress = Math.min((now - start) / 1200, 1);
            target.textContent = Math.round(end * progress).toLocaleString();
            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

Northline screenshot Premium

Agency

Northline

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