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

Kestrel Hero

A hero block extracted from the Kestrel template, available in Tailwind CSS.

0 8
Kestrel Hero preview

Download Codebase

Commercial License

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

kestrel.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>Kestrel Hero | Tailwind CSS UI Block</title>
  <meta name="description" content="A hero block extracted from the Kestrel template, available in Tailwind CSS.">
  <meta name="keywords" content="Kestrel, Tailwind CSS template, HTML website template, streetwear ecommerce, fashion store template, clothing shop, product catalog filters, responsive online store 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="Kestrel | Tailwind CSS Streetwear Ecommerce Template">
  <meta property="og:description" content="A bold Tailwind CSS streetwear ecommerce template with brutalist typography, filterable product catalog, lookbook banners, and cart pages for independent fashion labels.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Kestrel template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Kestrel | Tailwind CSS Streetwear Ecommerce Template">
  <meta name="twitter:description" content="A bold Tailwind CSS streetwear ecommerce template with brutalist typography, filterable product catalog, lookbook banners, and cart pages for independent fashion labels.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Kestrel 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 rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Dela+Gothic+One&amp;family=Inter+Tight:wght@400;500;600;700;800;900&amp;display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            ink: '#0b0b0b',
            bone: '#f1f1ef',
            frost: '#9fcbe3'
          },
          fontFamily: {
            sans: ['"Inter Tight"', 'sans-serif'],
            brand: ['"Dela Gothic One"', 'sans-serif']
          }
        }
      }
    };
  </script>
  <style>
    @view-transition { navigation: auto; }
    body { font-family: 'Inter Tight', sans-serif; }
    .font-brand { font-family: 'Dela Gothic One', sans-serif; }
    .hero-frame { min-height: 640px; }
    [hidden] { display: none !important; }
    .hero-word { font-size: 32vw; line-height: 0.74; letter-spacing: -0.075em; }
    .footer-word { font-size: 15.6vw; line-height: 0.82; letter-spacing: -0.04em; }
    .marquee { overflow: hidden; }
    .marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-speed, 42s) linear infinite; }
    .marquee-reverse .marquee-track { animation-direction: reverse; }
    .marquee:hover .marquee-track { animation-play-state: paused; }
    @keyframes marquee { to { transform: translateX(-50%); } }
    .barcode { display: inline-block; height: 0.75rem; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 3px, currentColor 3px 4px, transparent 4px 5px, currentColor 5px 7px, transparent 7px 8px, currentColor 8px 9px, transparent 9px 11px); }
    .barcode-v { display: inline-block; width: 0.75rem; background: repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 3px, currentColor 3px 4px, transparent 4px 5px, currentColor 5px 7px, transparent 7px 8px); }
    .motion-frame img { transition: transform 700ms ease; }
    .motion-frame.is-playing img { animation: slow-pan 14s ease-in-out infinite alternate; }
    @keyframes slow-pan { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.12) translateX(-2%); } }
    .filter-check { accent-color: #9fcbe3; }
    .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 (min-width: 1024px) {
      .hero-frame { height: min(69vw, 1080px); }
    }
    @media (prefers-reduced-motion: reduce) {
      .marquee-track, .motion-frame.is-playing img { animation: none; }
    }
  </style>
</head>
<body class="bg-white text-ink antialiased overflow-x-hidden">
<!-- block:start hero -->
  <section id="hero" class="hero-frame relative isolate overflow-hidden bg-[#dfe5ea]">
    <img src="https://images.unsplash.com/photo-1664207251296-569bacae6f04?auto=format&fit=crop&w=2000&q=80" alt="Model in a charcoal technical shell crouching against a pale sky" class="absolute inset-0 -z-20 h-full w-full object-cover object-[62%_30%] saturate-50">
    <div class="absolute inset-0 -z-10 bg-gradient-to-r from-white/85 via-white/35 to-white/10"></div>
    <div class="mx-auto flex h-full max-w-[1600px] flex-col px-5 pt-6 md:px-8">
      <div class="flex items-start justify-between gap-6">
        <figure class="w-40 sm:w-56">
          <div class="flex gap-2">
            <img src="https://images.unsplash.com/photo-1521223890158-f9f7c3d5d504?auto=format&fit=crop&w=600&q=80" alt="Close-up of a black leather jacket being zipped" class="aspect-[4/3] w-full object-cover">
            <div class="flex flex-col items-center justify-between">
              <span class="barcode-v h-16"></span>
              <span class="text-[10px] font-medium uppercase [writing-mode:vertical-rl] rotate-180">Kit 04</span>
            </div>
          </div>
          <figcaption class="mt-3 flex justify-between text-[12px] font-medium uppercase tracking-tight sm:text-[14px]">
            <span>[ Cold season file</span><span>— 02 ]</span>
          </figcaption>
        </figure>
        <div class="text-right">
          <p class="text-4xl font-medium tracking-[-0.06em] sm:text-5xl lg:text-[64px] lg:leading-none">°EST.19</p>
          <p class="mt-3 text-[12px] font-medium sm:text-[14px]">35.6762°N / 139.6503°E</p>
        </div>
      </div>

      <div class="mt-auto grid gap-6 pb-6 pt-16 lg:grid-cols-12 lg:items-end lg:pt-0">
        <div class="lg:col-span-3">
          <p class="text-lg tracking-[0.3em]" aria-hidden="true">* * *</p>
          <p class="mt-3 max-w-sm text-justify text-[14px] font-medium uppercase leading-relaxed sm:text-[15px]">Sharp lines, low-key colour. Cut for people who move with purpose and leave the volume at home.</p>
        </div>
        <p class="text-[13px] font-medium uppercase lg:col-span-3 lg:col-start-6">// Cut in Tokyo</p>
        <p class="text-[15px] font-medium lg:col-span-3 lg:col-start-10 lg:text-right">日常を纏う、静かな強さ</p>
      </div>

      <h1 class="relative select-none whitespace-nowrap font-black uppercase">
        <span class="sr-only">Kestrel — everyday streetwear built to move</span>
        <span class="hero-word -ml-[1.2vw] block" aria-hidden="true">Drift<span class="ml-[0.04em] inline-block align-top text-[0.5em] leading-[1.02] tracking-normal">©</span></span>
      </h1>
    </div>
    <a href="shop.html" class="absolute bottom-[3%] left-[60%] hidden aspect-square w-[15vw] max-w-[232px] items-center justify-center rounded-full bg-ink/70 text-white backdrop-blur-md transition-transform hover:scale-105 lg:flex">
      <span class="text-[15px] font-bold uppercase leading-tight">Shop the<br>drop <i class="fa-solid fa-arrow-down -rotate-45 text-[12px]"></i></span>
    </a>
  </section>
  <!-- block:end hero -->
<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);
      });
    });

    (() => {
      const count = Number(localStorage.getItem("kestrel-cart-count") || 0);
      document.querySelectorAll("[data-cart-count]").forEach((node) => { node.textContent = count; });
    })();

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

    document.querySelectorAll("[data-motion]").forEach((frame) => {
      const toggle = frame.querySelector("[data-motion-toggle]");
      const label = frame.querySelector("[data-motion-label]");
      toggle?.addEventListener("click", () => {
        const playing = toggle.getAttribute("aria-pressed") !== "true";
        toggle.setAttribute("aria-pressed", String(playing));
        frame.classList.toggle("is-playing", playing);
        if (label) label.textContent = playing ? "Pause reel" : "Play reel";
      });
    });

    document.querySelectorAll("[data-catalog]").forEach((root) => {
      const grid = root.querySelector("[data-catalog-grid]");
      const cards = [...grid.querySelectorAll("[data-product]")];
      const perPage = Number(root.dataset.perPage || 8);
      const sort = root.querySelector("[data-sort]");
      const minPrice = root.querySelector("[data-price-min]");
      const maxPrice = root.querySelector("[data-price-max]");
      const applied = root.querySelector("[data-applied]");
      const pager = root.querySelector("[data-pager]");
      const empty = root.querySelector("[data-empty]");
      const defaults = { min: minPrice.value, max: maxPrice.value };
      let page = 1;
      const checked = (name) => [...root.querySelectorAll(`input[name="${name}"]:checked`)];
      const chip = (label, onRemove) => {
        const button = document.createElement("button");
        button.type = "button";
        button.className = "flex items-center gap-3 border border-ink px-3 py-2 uppercase hover:bg-ink hover:text-white";
        button.innerHTML = `${label} <i class="fa-solid fa-xmark text-[10px]"></i>`;
        button.setAttribute("aria-label", `Remove filter ${label}`);
        button.addEventListener("click", () => { onRemove(); page = 1; update(); });
        return button;
      };
      const pagerButton = (label, target, active, aria) => {
        const button = document.createElement("button");
        button.type = "button";
        button.className = `flex h-9 w-9 items-center justify-center ${active ? "border border-ink" : "hover:bg-bone"}`;
        button.innerHTML = label;
        if (aria) button.setAttribute("aria-label", aria);
        if (active) button.setAttribute("aria-current", "page");
        button.addEventListener("click", () => { page = target; update(); grid.scrollIntoView({ behavior: "smooth", block: "start" }); });
        return button;
      };
      const update = () => {
        const cats = checked("category").map((input) => input.value);
        const sizes = checked("size").map((input) => input.value);
        const avail = checked("availability").map((input) => input.value).filter((value) => value !== "all");
        const min = Number(minPrice.value);
        const max = Number(maxPrice.value);
        const list = cards.filter(({ dataset }) => {
          if (cats.length && !cats.includes(dataset.category)) return false;
          if (sizes.length && !dataset.sizes.split(" ").some((size) => sizes.includes(size))) return false;
          if (avail.length && !dataset.tags.split(" ").some((tag) => avail.includes(tag))) return false;
          const price = Number(dataset.price);
          return price >= min && price <= max;
        });
        const compare = {
          popular: (a, b) => a.dataset.rank - b.dataset.rank,
          newest: (a, b) => b.dataset.date.localeCompare(a.dataset.date),
          "price-asc": (a, b) => a.dataset.price - b.dataset.price,
          "price-desc": (a, b) => b.dataset.price - a.dataset.price
        }[sort.value];
        list.sort(compare);
        const pages = Math.max(1, Math.ceil(list.length / perPage));
        page = Math.min(page, pages);
        const visible = list.slice((page - 1) * perPage, page * perPage);
        cards.forEach((card) => { card.hidden = !visible.includes(card); });
        list.forEach((card) => grid.append(card));
        empty.hidden = list.length > 0;

        applied.innerHTML = "";
        checked("category").concat(checked("size"), checked("availability")).forEach((input) => {
          const label = input.dataset.label || input.value;
          applied.append(chip(label, () => {
            input.checked = false;
            if (input.name === "availability" && !checked("availability").length) root.querySelector('input[name="availability"][value="all"]').checked = true;
          }));
        });
        applied.append(chip(`$${min} - $${max}`, () => { minPrice.value = defaults.min; maxPrice.value = defaults.max; }));

        pager.innerHTML = "";
        for (let i = 1; i <= pages; i++) pager.append(pagerButton(String(i), i, i === page, `Page ${i}`));
        pager.append(pagerButton('<i class="fa-solid fa-chevron-right text-[10px]"></i>', page >= pages ? 1 : page + 1, false, "Next page"));
        pager.lastChild.classList.add("border", "border-ink");
      };
      root.querySelectorAll('input[name="availability"]').forEach((input) => {
        input.addEventListener("change", () => {
          const all = root.querySelector('input[name="availability"][value="all"]');
          if (input === all && all.checked) checked("availability").forEach((other) => { if (other !== all) other.checked = false; });
          if (input !== all && input.checked) all.checked = false;
          if (!checked("availability").length) all.checked = true;
        });
      });
      root.querySelectorAll('input[type="checkbox"], [data-sort], [data-price-min], [data-price-max]').forEach((control) => {
        control.addEventListener("change", () => { page = 1; update(); });
      });
      root.querySelector("[data-apply]")?.addEventListener("click", () => { page = 1; update(); });
      update();
    });

    document.querySelectorAll("[data-review-carousel]").forEach((carousel) => {
      const pages = [...carousel.querySelectorAll("[data-review-page]")];
      const current = carousel.querySelector("[data-review-current]");
      let index = 0;
      const go = (next) => {
        index = (next + pages.length) % pages.length;
        pages.forEach((page, i) => { page.hidden = i !== index; });
        if (current) current.textContent = String(index + 1).padStart(2, "0");
      };
      carousel.querySelector("[data-review-prev]")?.addEventListener("click", () => go(index - 1));
      carousel.querySelector("[data-review-next]")?.addEventListener("click", () => go(index + 1));
    });

    document.querySelectorAll("[data-newsletter]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        form.reset();
        const note = form.parentElement.querySelector("[data-newsletter-note]");
        if (note) note.hidden = false;
      });
    });
  </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

Kestrel screenshot Premium

E-commerce

Kestrel

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