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

Paceline Navbar

A navbar block extracted from the Paceline template, available in Tailwind CSS.

0 13
Paceline Navbar preview

Download Codebase

Commercial License

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

paceline.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>Paceline Navbar | Tailwind CSS UI Block</title>
  <meta name="description" content="A navbar block extracted from the Paceline template, available in Tailwind CSS.">
  <meta name="keywords" content="Paceline, Tailwind CSS template, HTML website template, running blog, sportswear brand journal, run club website, athletic apparel stories, responsive editorial 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="Paceline | Tailwind CSS Running Blog Template">
  <meta property="og:description" content="A clean Tailwind CSS running blog template for sportswear brands, run clubs, and athletic journals sharing race stories, training notes, and gear launches.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Paceline template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Paceline | Tailwind CSS Running Blog Template">
  <meta name="twitter:description" content="A clean Tailwind CSS running blog template for sportswear brands, run clubs, and athletic journals sharing race stories, training notes, and gear launches.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Paceline 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 href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            ink: '#111111',
            mist: '#6f6f6f',
            line: '#e6e6e6',
            paper: '#f5f5f3'
          },
          fontFamily: {
            sans: ['Inter', 'ui-sans-serif', 'system-ui', '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; } }
    .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) {
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-white font-sans text-ink antialiased">
<!-- preview canvas: shows overlay navbars on the original hero surface -->
<div class="block-preview-canvas bg-ink" style="position:relative;min-height:12rem">
<!-- block:start navbar -->
  <header id="top" class="absolute inset-x-0 top-0 z-30 text-white">
    <div class="mx-auto max-w-[1440px] px-5 md:px-10">
      <div class="flex items-start gap-6 pt-5 lg:gap-10">
        <a href="index.html" class="flex h-11 shrink-0 items-center text-lg font-semibold tracking-tight">Paceline</a>
        <form role="search" data-search-form class="hidden h-11 flex-1 items-center rounded-full bg-white pl-5 pr-4 text-ink md:flex">
          <label for="site-search" class="sr-only">Search the journal</label>
          <input id="site-search" name="q" type="search" placeholder="Search here" class="h-full w-full bg-transparent text-sm placeholder:text-mist focus:outline-none">
          <button type="submit" class="flex h-8 w-8 items-center justify-center text-mist hover:text-ink" aria-label="Search"><i class="fa-solid fa-magnifying-glass text-sm"></i></button>
        </form>
        <nav aria-label="Primary" data-nav class="hidden shrink-0 grid-flow-col grid-rows-6 gap-x-16 gap-y-px text-[12px] leading-4 lg:grid">
            <a href="index.html" data-slug="index" aria-current=&quot;page&quot; class="font-medium text-white underline decoration-1 underline-offset-[3px]">Home</a>
            <a href="new-arrivals.html" data-slug="new-arrivals"  class="text-white/85 transition hover:text-white">New Arrivals</a>
            <a href="men.html" data-slug="men"  class="text-white/85 transition hover:text-white">Men</a>
            <a href="women.html" data-slug="women"  class="text-white/85 transition hover:text-white">Women</a>
            <a href="collections.html" data-slug="collections"  class="text-white/85 transition hover:text-white">Collections</a>
            <a href="best-sellers.html" data-slug="best-sellers"  class="text-white/85 transition hover:text-white">Best Sellers</a>
            <a href="running-gear.html" data-slug="running-gear"  class="text-white/85 transition hover:text-white">Running Gear</a>
            <a href="technology.html" data-slug="technology"  class="text-white/85 transition hover:text-white">Technology</a>
            <a href="stories.html" data-slug="stories"  class="text-white/85 transition hover:text-white">Stories</a>
            <a href="size-guide.html" data-slug="size-guide"  class="text-white/85 transition hover:text-white">Size Guide</a>
            <a href="support.html" data-slug="support"  class="text-white/85 transition hover:text-white">Support</a>
        </nav>
        <button type="button" data-menu-toggle aria-controls="mobile-menu" aria-expanded="false" aria-label="Open menu" class="ml-auto flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-white/15 backdrop-blur transition hover:bg-white/25 lg:hidden">
          <i class="fa-solid fa-bars"></i>
        </button>
      </div>
      <div id="mobile-menu" class="mt-3 hidden rounded-3xl bg-white p-5 text-ink shadow-2xl lg:hidden">
        <form role="search" data-search-form class="mb-5 flex h-11 items-center rounded-full bg-paper pl-5 pr-4 md:hidden">
          <label for="mobile-search" class="sr-only">Search the journal</label>
          <input id="mobile-search" name="q" type="search" placeholder="Search here" class="h-full w-full bg-transparent text-sm placeholder:text-mist focus:outline-none">
          <button type="submit" class="text-mist" aria-label="Search"><i class="fa-solid fa-magnifying-glass text-sm"></i></button>
        </form>
        <nav aria-label="Mobile" class="grid grid-cols-2 gap-x-6 gap-y-3 text-[15px]">
            <a href="index.html" aria-current=&quot;page&quot; class="font-semibold">Home</a>
            <a href="new-arrivals.html"  class="text-mist hover:text-ink">New Arrivals</a>
            <a href="men.html"  class="text-mist hover:text-ink">Men</a>
            <a href="women.html"  class="text-mist hover:text-ink">Women</a>
            <a href="collections.html"  class="text-mist hover:text-ink">Collections</a>
            <a href="best-sellers.html"  class="text-mist hover:text-ink">Best Sellers</a>
            <a href="running-gear.html"  class="text-mist hover:text-ink">Running Gear</a>
            <a href="technology.html"  class="text-mist hover:text-ink">Technology</a>
            <a href="stories.html"  class="text-mist hover:text-ink">Stories</a>
            <a href="size-guide.html"  class="text-mist hover:text-ink">Size Guide</a>
            <a href="support.html"  class="text-mist hover:text-ink">Support</a>
        </nav>
      </div>
    </div>
  </header>
  <!-- block:end navbar -->
</div>
<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-search-form]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        const query = form.querySelector("input").value.trim();
        const target = document.querySelector('a[data-slug="stories"]')?.href || "stories.html";
        window.location.href = query ? `${target}${target.includes("?") ? "&" : "?"}q=${encodeURIComponent(query)}` : target;
      });
    });

    document.querySelectorAll("[data-newsletter]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        form.reset();
        form.parentElement.querySelector("[data-newsletter-status]")?.classList.remove("hidden");
      });
    });

    (() => {
      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

Paceline screenshot Premium

Blog

Paceline

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