Desbloquea todos los bloques y plantillas premium con All-Access desde 20 € / 3 meses, cancela cuando quieras. Consigue All-Access
Todos los bloques
Gratis Menú de navegación

Pockett Menú de navegación

A menú de navegación block extracted from the Pockett template, available in Tailwind CSS.

0 0
Pockett Menú de navegación preview
pockett.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>Pockett Navbar | Tailwind CSS UI Block</title>
  <meta name="description" content="A navbar block extracted from the Pockett template, available in Tailwind CSS.">
  <meta name="keywords" content="Pockett, Tailwind CSS template, HTML website template, fintech landing page, business account template, banking website, freelancer finance, pricing table, payment calculator">
  <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="Pockett | Tailwind CSS Fintech Template">
  <meta property="og:description" content="A typographic Tailwind CSS template for fintech products and business accounts, with a pink panel hero, giant numbers, a payment splitter, a feature story, stepper tabs, reviews, features, pricing and contact pages.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Pockett template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Pockett | Tailwind CSS Fintech Template">
  <meta name="twitter:description" content="A typographic Tailwind CSS template for fintech products and business accounts, with a pink panel hero, giant numbers, a payment splitter, a feature story, stepper tabs, reviews, features, pricing and contact pages.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Pockett 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=Albert+Sans:wght@400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            mist: '#f1f1f1',
            rose: { DEFAULT: '#ff929d', deep: '#e85f70', pale: '#ffc9ce' },
            ink: { DEFAULT: '#3b3b3b', soft: '#6b6b6b' }
          },
          fontFamily: {
            sans: ['"Albert Sans"', 'sans-serif']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .orb { border-radius: 9999px; background: radial-gradient(circle at 50% 42%, #ffc4ca 0%, #ffa9b2 38%, rgba(255, 146, 157, 0) 70%); box-shadow: inset 0 -2.5rem 5rem rgba(232, 95, 112, .28); filter: blur(6px); }
    .giant { font-weight: 500; letter-spacing: -.045em; line-height: .82; }
    .segment { transition: flex-basis .4s ease; }
    .story-ready [data-story-step] { opacity: .35; transition: opacity .4s ease; }
    .story-ready [data-story-step][data-current] { opacity: 1; }
    .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) { .segment, .story-ready [data-story-step] { transition: none; } }
  </style>
</head>
<body class="bg-mist font-sans text-ink antialiased">
<!-- block:start navbar -->
  <header class="absolute inset-x-0 top-0 z-40">
    <div class="mx-auto flex max-w-[1400px] items-center justify-between px-8 py-7 md:px-14 md:py-10">
      <a href="index.html" class="text-sm font-semibold leading-[1.05]">Pockett<br><span class="font-normal">for freelancers</span></a>
      <nav aria-label="Main" class="hidden items-center gap-9 text-sm md:flex">
        <a href="index.html" aria-current="page" class="border-b border-ink pb-0.5 font-semibold">Home</a>
          <a href="features.html" class="border-b border-transparent pb-0.5 transition hover:border-ink">Features</a>
          <a href="pricing.html" class="border-b border-transparent pb-0.5 transition hover:border-ink">Pricing</a>
          <a href="contact.html" class="border-b border-transparent pb-0.5 transition hover:border-ink">Contact</a>
        <a href="contact.html?topic=open" class="rounded-full bg-ink px-5 py-2.5 font-medium text-white transition hover:bg-black">Open an account</a>
      </nav>
      <button type="button" data-menu-toggle aria-controls="mobile-menu" aria-expanded="false" aria-label="Open menu" class="flex h-11 w-11 items-center justify-center rounded-full bg-ink text-white md:hidden">
        <i class="fa-solid fa-bars"></i>
      </button>
    </div>
    <div id="mobile-menu" class="mx-4 hidden rounded-3xl bg-ink p-6 text-white md:hidden">
      <nav aria-label="Mobile" class="flex flex-col gap-1 text-3xl font-medium">
        <a href="index.html" aria-current="page" class="py-1 text-rose">Home</a>
          <a href="features.html" class="py-1">Features</a>
          <a href="pricing.html" class="py-1">Pricing</a>
          <a href="contact.html" class="py-1">Contact</a>
      </nav>
      <a href="contact.html?topic=open" class="mt-6 inline-block rounded-full bg-rose px-6 py-3 font-medium text-ink">Open an account</a>
    </div>
  </header>
  <!-- block:end navbar -->
<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-split]").forEach((split) => {
      const range = split.querySelector("[data-split-amount]");
      const pots = [...split.querySelectorAll("[data-split-pot]")];
      const money = (value) => "£" + Math.round(value).toLocaleString("en-GB");
      const update = () => {
        const amount = Number(range.value);
        let aside = 0;
        pots.forEach((pot) => {
          const on = pot.getAttribute("aria-pressed") === "true";
          const share = on ? Number(pot.dataset.splitPot) : 0;
          aside += share;
          pot.querySelector("[data-split-pot-amount]").textContent = on ? money(amount * share / 100) : "off";
          const segment = split.querySelector(`[data-split-segment="${pot.dataset.splitName}"]`);
          if (segment) segment.style.flexBasis = `${share}%`;
        });
        split.querySelector("[data-split-amount-label]").textContent = money(amount);
        split.querySelector("[data-split-aside]").textContent = aside;
        split.querySelector("[data-split-yours]").textContent = 100 - aside;
        split.querySelector("[data-split-yours-amount]").textContent = money(amount * (100 - aside) / 100);
      };
      pots.forEach((pot) => pot.addEventListener("click", () => {
        pot.setAttribute("aria-pressed", String(pot.getAttribute("aria-pressed") !== "true"));
        update();
      }));
      range.addEventListener("input", update);
      update();
    });

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

    document.querySelectorAll("[data-story]").forEach((story) => {
      const steps = story.querySelectorAll("[data-story-step]");
      const number = story.querySelector("[data-story-number]");
      if (navigator.webdriver || !("IntersectionObserver" in window) || !matchMedia("(min-width: 1024px)").matches) return;
      story.classList.add("story-ready");
      const observer = new IntersectionObserver((entries) => {
        entries.forEach((entry) => {
          if (!entry.isIntersecting) return;
          steps.forEach((step) => step.toggleAttribute("data-current", step === entry.target));
          if (number) number.textContent = entry.target.dataset.storyStep;
        });
      }, { rootMargin: "-40% 0px -45% 0px" });
      steps.forEach((step) => observer.observe(step));
    });

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

De esta plantilla

Pockett screenshot

Finanzas y fintech

Pockett

Acceso ilimitado a todos los productos

Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.

20 € / 3 meses o 60 € / año
Conseguir acceso ilimitado