Fashora Navbar Navbar Block - Let's templates
Unlock every premium block and template with All-Access from €20 / 3 months, cancel anytime. Get All-Access
All blocks
Free Navbar

Fashora Navbar

A navbar block extracted from the Fashora template, available in Tailwind CSS, Bootstrap, DaisyUI, and Material Design.

0 16
Fashora Navbar preview
fashora.html
<!DOCTYPE html>
<html lang="en" class="w-full">
<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>Fashora Navbar | Tailwind CSS UI Block</title>
    <meta name="description" content="A navbar block extracted from the Fashora template, available in Tailwind CSS, Bootstrap, DaisyUI, and Material Design.">
    <meta name="keywords" content="Fashora, Tailwind CSS template, HTML website template, streetwear store template, fashion landing page, clothing collection, responsive ecommerce 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="Fashora | Tailwind CSS Streetwear Ecommerce Template">
    <meta property="og:description" content="A vibrant Tailwind CSS streetwear store template for presenting fashion collections, featured products, and bold editorial campaigns.">
    <meta property="og:image" content="">
    <meta property="og:image:alt" content="Fashora template preview">

    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:url" content="">
    <meta name="twitter:title" content="Fashora | Tailwind CSS Streetwear Ecommerce Template">
    <meta name="twitter:description" content="A vibrant Tailwind CSS streetwear store template for presenting fashion collections, featured products, and bold editorial campaigns.">
    <meta name="twitter:image" content="">
    <meta name="twitter:image:alt" content="Fashora template preview">
    <script src="https://cdn.tailwindcss.com"></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=Teko:wght@300..700&family=Inter:wght@400;700;900&display=swap" rel="stylesheet">
    <script>
      tailwind.config = {
        theme: {
          extend: {
            colors: {
              primary: '#3B82F6',
              dark: '#121212',
              light: '#f4f4f5',
            },
            fontFamily: {
              sans: ['Inter', 'sans-serif'],
              teko: ['Teko', 'sans-serif'],
            },
            spacing: {
              '15': '3.75rem',
            },
            keyframes: {
              marquee: {
                '0%': { transform: 'translateX(0)' },
                '100%': { transform: 'translateX(-50%)' },
              },
            },
            animation: {
              marquee: 'marquee 20s linear infinite',
            },
          },
        },
      };
    </script>
    <style>
        body { font-family: 'Inter', sans-serif; }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: currentColor;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease;
        }
        .nav-link:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }
        .no-scrollbar::-webkit-scrollbar { display: none; }
        .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
        #product, #shops, #pricing { scroll-margin-top: 5rem; }
        .nav-pill {
            color: rgba(255, 255, 255, 0.5);
        }
        .nav-pill:hover { color: #fff; }
        .nav-pill.is-active {
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
        }
    </style>
</head>
<body class="bg-light text-black overflow-x-hidden">
<!-- preview canvas: shows overlay navbars on the original hero surface -->
<div class="block-preview-canvas bg-primary" style="position:relative;min-height:12rem">
<!-- block:start navbar -->
    <%
      nav_links = [
        ["#hero", "Home", true],
        ["#product", "Product", false],
        ["#pricing", "Pricing", false],
        ["#shops", "Our Shops", false]
      ]
    %>
    <nav class="absolute top-4 sm:top-8 left-0 w-full z-50 px-5 sm:px-8 lg:px-12">
        <div class="flex items-center justify-between gap-3">
            <a href="#hero" class="text-2xl sm:text-3xl font-teko font-bold tracking-tight text-white uppercase shrink-0">FASHORA</a>

            <div class="hidden lg:flex items-center gap-2 bg-white/20 backdrop-blur-md p-1 rounded-full border border-white/10">
                <% nav_links.each do |href, label, active| %>
                  <a href="<%= href %>" data-nav-link class="nav-pill<%= " is-active" if active %> px-6 py-1.5 rounded-full text-xs font-semibold uppercase tracking-wider transition-colors"<%= ' aria-current="page"' if active %>><%= label %></a>
                <% end %>
            </div>

            <a href="#pricing" class="bg-white text-black px-4 sm:px-8 py-2 sm:py-2.5 rounded-full text-[10px] sm:text-xs font-bold uppercase tracking-wider hover:bg-gray-100 transition-colors shrink-0">
                ORDER NOW
            </a>
        </div>
        <div class="mt-3 flex lg:hidden items-center gap-1 bg-white/20 backdrop-blur-md p-1 rounded-full border border-white/10">
            <% nav_links.each do |href, label, active| %>
              <a href="<%= href %>" data-nav-link class="nav-pill<%= " is-active" if active %> flex-1 text-center px-2 py-1.5 rounded-full text-[10px] font-semibold uppercase tracking-wider transition-colors"<%= ' aria-current="page"' if active %>><%= label %></a>
            <% end %>
        </div>
    </nav>
    <!-- block:end navbar -->
</div>
<script>
      (function () {
        var track = document.getElementById("reviews-track");
        var prev = document.getElementById("reviews-prev");
        var next = document.getElementById("reviews-next");
        if (!track || !prev || !next) return;

        function cardStep() {
          var card = track.querySelector("[data-review]");
          if (!card) return 400;
          var styles = window.getComputedStyle(track);
          var gap = parseFloat(styles.columnGap || styles.gap) || 24;
          return card.getBoundingClientRect().width + gap;
        }

        function scrollByDir(dir) {
          var step = cardStep();
          var max = Math.max(track.scrollWidth - track.clientWidth, 0);
          var nextLeft = track.scrollLeft + dir * step;
          if (nextLeft > max - 8) nextLeft = 0;
          if (nextLeft < 8 && dir < 0) nextLeft = max;
          track.scrollTo({ left: nextLeft, behavior: "smooth" });
        }

        prev.addEventListener("click", function () { scrollByDir(-1); });
        next.addEventListener("click", function () { scrollByDir(1); });
      })();

      (function () {
        var links = document.querySelectorAll("[data-nav-link]");

        function setActive(href) {
          links.forEach(function (link) {
            var isActive = link.getAttribute("href") === href;
            link.classList.toggle("is-active", isActive);
            if (isActive) {
              link.setAttribute("aria-current", "page");
            } else {
              link.removeAttribute("aria-current");
            }
          });
        }

        links.forEach(function (link) {
          link.addEventListener("click", function () {
            setActive(link.getAttribute("href"));
          });
        });
      })();
    </script>
</body>
</html>

From this template

Fashora screenshot Free

Business

Fashora

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