Desbloquea todos los bloques y plantillas premium con All-Access desde 20 € / 3 meses, cancela cuando quieras. Consigue All-Access
Todos los bloques
Gratis Cinta animada

Kestrel Marquee

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

0 31
Kestrel Marquee preview

Descargar el código

Licencia comercial

Descarga gratis · hasta 5 bloques al día. Ilimitado con 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 Marquee | Tailwind CSS UI Block</title>
  <meta name="description" content="A marquee 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 marquee -->
  <section class="marquee bg-ink py-3 text-white" aria-label="Brand statements">
    <div class="marquee-track">
        <ul class="flex shrink-0 items-center" >
            <li class="flex items-center gap-8 pr-8 text-2xl font-extrabold uppercase tracking-tight md:text-[28px]">
              <span class="">After hours series</span>
              <span class="text-[0.8em] font-medium">©</span>
            </li>
            <li class="flex items-center gap-8 pr-8 text-2xl font-extrabold uppercase tracking-tight md:text-[28px]">
              <span class="">Made for the late city</span>
              <span class="text-[0.8em] font-medium">©</span>
            </li>
            <li class="flex items-center gap-8 pr-8 text-2xl font-extrabold uppercase tracking-tight md:text-[28px]">
              <span class="">Less signal // more form</span>
              <span class="text-[0.8em] font-medium">©</span>
            </li>
            <li class="flex items-center gap-8 pr-8 text-2xl font-extrabold uppercase tracking-tight md:text-[28px]">
              <span class="font-brand font-normal text-[0.85em]">Kestrel</span>
              <span class="text-[0.8em] font-medium">©</span>
            </li>
            <li class="flex items-center gap-8 pr-8 text-2xl font-extrabold uppercase tracking-tight md:text-[28px]">
              <span class="">Drop 07 out now</span>
              <span class="text-[0.8em] font-medium">©</span>
            </li>
        </ul>
        <ul class="flex shrink-0 items-center" aria-hidden=&quot;true&quot;>
            <li class="flex items-center gap-8 pr-8 text-2xl font-extrabold uppercase tracking-tight md:text-[28px]">
              <span class="">After hours series</span>
              <span class="text-[0.8em] font-medium">©</span>
            </li>
            <li class="flex items-center gap-8 pr-8 text-2xl font-extrabold uppercase tracking-tight md:text-[28px]">
              <span class="">Made for the late city</span>
              <span class="text-[0.8em] font-medium">©</span>
            </li>
            <li class="flex items-center gap-8 pr-8 text-2xl font-extrabold uppercase tracking-tight md:text-[28px]">
              <span class="">Less signal // more form</span>
              <span class="text-[0.8em] font-medium">©</span>
            </li>
            <li class="flex items-center gap-8 pr-8 text-2xl font-extrabold uppercase tracking-tight md:text-[28px]">
              <span class="font-brand font-normal text-[0.85em]">Kestrel</span>
              <span class="text-[0.8em] font-medium">©</span>
            </li>
            <li class="flex items-center gap-8 pr-8 text-2xl font-extrabold uppercase tracking-tight md:text-[28px]">
              <span class="">Drop 07 out now</span>
              <span class="text-[0.8em] font-medium">©</span>
            </li>
        </ul>
    </div>
  </section>
  <!-- block:end marquee -->
<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>

De esta plantilla

Kestrel screenshot Premium

Tienda online

Kestrel

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