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

Aeris Navbar

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

0 6
Aeris Navbar preview
aeris.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>Aeris Navbar | Tailwind CSS UI Block</title>
  <meta name="description" content="A navbar block extracted from the Aeris template, available in Tailwind CSS.">
  <meta name="keywords" content="Aeris, Tailwind CSS template, HTML website template, health template, medical clinic, AI healthcare, health check, telehealth, preventive care, doctors">
  <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="Aeris | Tailwind CSS Health Template">
  <meta property="og:description" content="A calm, futuristic Tailwind CSS clinic template with frosted photo tiles, an interactive scan pod, a doctor spotlight and membership plans.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Aeris template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Aeris | Tailwind CSS Health Template">
  <meta name="twitter:description" content="A calm, futuristic Tailwind CSS clinic template with frosted photo tiles, an interactive scan pod, a doctor spotlight and membership plans.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Aeris 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=Geist:wght@300;400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { ink: '#111312', shell: '#f4f4f2', frame: '#a9c0c2', sage: { DEFAULT: '#7fa0a3', deep: '#5c7f82' }, lime: '#e1f36b', iris: '#5b5bd6' },
          fontFamily: { sans: ['Geist', '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 band { to { transform: translateX(-50%); } }
    @keyframes sweep { from { transform: translateY(-100%); } to { transform: translateY(400%); } }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    body { background: radial-gradient(circle at 30% 0%, #c6d6d4, #a9c0c2 45%, #9db4b8); }
    .ribbed { backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 2px, rgba(255, 255, 255, .02) 2px 10px); }
    .frost { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
    .band { animation: band 30s linear infinite; }
    .scanning [data-scan-line] { animation: sweep 1.4s ease-in-out infinite; }
    .flip { transform-style: preserve-3d; transition: transform .6s ease; }
    .flip[aria-pressed="true"] { transform: rotateY(180deg); }
    .flip > * { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
    .flip > :last-child { transform: rotateY(180deg); }
    .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; }
      .band, .scanning [data-scan-line] { animation: none; }
      .flip { transition: none; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="min-h-screen p-2 font-sans text-ink antialiased md:p-6">
<!-- block:start navbar -->
  <header class="relative z-30">
    <nav class="flex items-center justify-between gap-6 px-5 py-6 md:px-10" aria-label="Main">
      <a href="index.html" class="flex items-center"><span class="text-[1.7rem] font-semibold leading-none tracking-[-.04em]" aria-hidden="true">aeris<span class="ml-0.5 inline-block h-2 w-2 rounded-full bg-lime ring-1 ring-ink/30"></span></span><span class="sr-only">Aeris home</span></a>
      <ul class="hidden items-center gap-8 text-[17px] lg:flex">
          <li><a href="technology.html"  class="transition text-ink/60 hover:text-ink">Technology</a></li>
          <li><a href="programs.html"  class="transition text-ink/60 hover:text-ink">Programs<sup class="ml-0.5 text-[10px]">(New)</sup></a></li>
          <li><a href="doctors.html"  class="transition text-ink/60 hover:text-ink">Doctors<sup class="ml-0.5 text-[10px]">(48)</sup></a></li>
          <li><a href="membership.html"  class="transition text-ink/60 hover:text-ink">Membership</a></li>
        <li><a href="contact.html" class="text-ink/60 transition hover:text-ink">Contact <i class="fa-solid fa-arrow-right text-xs" aria-hidden="true"></i></a></li>
      </ul>
      <button type="button" data-menu-toggle aria-controls="mobile-menu" aria-expanded="false" class="grid h-11 w-11 place-items-center rounded-full transition hover:bg-white" aria-label="Open menu"><span class="grid gap-1.5" aria-hidden="true"><span class="block h-0.5 w-6 bg-ink"></span><span class="block h-0.5 w-6 bg-ink"></span></span></button>
    </nav>
    <div id="mobile-menu" class="frost absolute inset-x-3 top-[5.5rem] hidden rounded-3xl bg-white/80 p-6 shadow-xl md:inset-x-10">
      <ul class="grid gap-1 md:grid-cols-3">
          <li><a href="index.html" aria-current="page" class="flex items-baseline justify-between rounded-2xl px-4 py-3 text-2xl transition hover:bg-white bg-lime">Home</a></li>
          <li><a href="technology.html"  class="flex items-baseline justify-between rounded-2xl px-4 py-3 text-2xl transition hover:bg-white ">Technology</a></li>
          <li><a href="programs.html"  class="flex items-baseline justify-between rounded-2xl px-4 py-3 text-2xl transition hover:bg-white ">Programs<span class="text-xs text-ink/50">(New)</span></a></li>
          <li><a href="doctors.html"  class="flex items-baseline justify-between rounded-2xl px-4 py-3 text-2xl transition hover:bg-white ">Doctors<span class="text-xs text-ink/50">(48)</span></a></li>
          <li><a href="membership.html"  class="flex items-baseline justify-between rounded-2xl px-4 py-3 text-2xl transition hover:bg-white ">Membership</a></li>
          <li><a href="contact.html"  class="flex items-baseline justify-between rounded-2xl px-4 py-3 text-2xl transition hover:bg-white ">Contact</a></li>
      </ul>
    </div>
  </header>
  <!-- block:end navbar -->
<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-scan]').forEach((root) => {
      const data = JSON.parse(root.querySelector('[data-scan-data]').textContent);
      const types = [...root.querySelectorAll('[data-scan-type]')];
      const stage = root.querySelector('[data-scan-stage]');
      const instant = reducedMotion || navigator.webdriver;
      let current = 'heart';
      let timer;
      const reset = () => {
        clearInterval(timer);
        stage.classList.remove('scanning');
        data[current][2].forEach(([label, , unit], i) => {
          root.querySelector(`[data-metric-label="${i}"]`).textContent = label;
          root.querySelector(`[data-metric-unit="${i}"]`).textContent = unit;
          root.querySelector(`[data-metric="${i}"]`).textContent = '—';
        });
        root.querySelector('[data-scan-progress]').style.width = '0%';
        root.querySelector('[data-scan-state]').textContent = 'Ready';
        root.querySelector('[data-scan-note]').textContent = 'Choose a system and start a demo scan.';
      };
      const finish = () => {
        clearInterval(timer);
        stage.classList.remove('scanning');
        data[current][2].forEach(([, value], i) => { root.querySelector(`[data-metric="${i}"]`).textContent = value; });
        root.querySelector('[data-scan-progress]').style.width = '100%';
        root.querySelector('[data-scan-state]').textContent = 'Scan complete';
        root.querySelector('[data-scan-note]').textContent = data[current][3];
      };
      types.forEach((type) => type.addEventListener('click', () => {
        types.forEach((other) => other.setAttribute('aria-pressed', String(other === type)));
        current = type.dataset.scanType;
        reset();
      }));
      root.querySelector('[data-scan-start]').addEventListener('click', () => {
        reset();
        if (instant) { finish(); return; }
        stage.classList.add('scanning');
        root.querySelector('[data-scan-state]').textContent = 'Scanning…';
        let step = 0;
        timer = setInterval(() => {
          step += 1;
          const share = step / 20;
          root.querySelector('[data-scan-progress]').style.width = `${share * 100}%`;
          data[current][2].forEach(([, value], i) => { root.querySelector(`[data-metric="${i}"]`).textContent = Math.round(value * share); });
          if (step >= 20) finish();
        }, 90);
      });
    });

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

    document.querySelectorAll('[data-flip]').forEach((card) => card.addEventListener('click', () => {
      card.setAttribute('aria-pressed', String(card.getAttribute('aria-pressed') !== 'true'));
    }));

    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>
<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

Aeris screenshot

Health & Fitness

Aeris

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