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

Oblique Reviews

A reviews block extracted from the Oblique template, available in Tailwind CSS and Bootstrap.

0 1
Oblique Reviews preview
oblique.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>Oblique Reviews | Tailwind CSS UI Block</title>
  <meta name="description" content="A reviews block extracted from the Oblique template, available in Tailwind CSS and Bootstrap.">
  <meta name="keywords" content="Oblique, Tailwind CSS template, HTML website template, fashion ecommerce, clothing store template, minimal online boutique, capsule wardrobe shop, responsive 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="Oblique | Tailwind CSS Fashion Ecommerce Template">
  <meta property="og:description" content="A minimal Tailwind CSS fashion ecommerce template for independent clothing labels, capsule wardrobes, and slow-fashion boutiques that sell online.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Oblique template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Oblique | Tailwind CSS Fashion Ecommerce Template">
  <meta name="twitter:description" content="A minimal Tailwind CSS fashion ecommerce template for independent clothing labels, capsule wardrobes, and slow-fashion boutiques that sell online.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Oblique 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=Courier+Prime:wght@700&amp;family=Inter:wght@400;500;600&amp;family=Inter+Tight:wght@400;500;600&amp;display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            paper: '#faf9f6',
            ink: '#141414',
            stone: '#6d6b66',
            line: '#e5e2db',
            sand: '#efece6'
          },
          fontFamily: {
            sans: ['Inter', 'Helvetica Neue', 'Arial', 'sans-serif'],
            display: ['"Inter Tight"', 'Helvetica Neue', 'Arial', 'sans-serif'],
            mono: ['"Courier Prime"', 'Courier New', 'monospace']
          }
        }
      }
    };
  </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; }
    }
    @media (prefers-reduced-motion: reduce) {
      ::view-transition-old(root),
      ::view-transition-new(root) {
        animation: none;
      }
    }
    .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; }
  </style>
</head>
<body class="overflow-x-hidden bg-paper font-sans text-ink antialiased">
<%
        products = [
          ["Column Wool Blazer", 240, "outerwear", "Stone check", "photo-1608234808654-2a8875faa7fd", "Woman in a grey checked wool blazer over a white shirt", "column-wool-blazer.html"],
          ["Draped Camel Coat", 320, "outerwear", "Camel", "photo-1619603364904-c0498317e145", "Model in a long camel coat over a brown turtleneck", "draped-camel-coat.html"],
          ["Olive Strap Playsuit", 185, "dresses", "Olive", "photo-1618932260643-eee4a2f652a6", "Olive belted strappy playsuit on a hanger", "olive-strap-playsuit.html"],
          ["Open-Knit Cape", 135, "knitwear", "Ecru", "photo-1434389677669-e08b4cac3105", "Cream open-knit fringed cape on a wooden hanger", "column-wool-blazer.html"],
          ["Rust Cropped Bomber", 210, "outerwear", "Rust", "photo-1591047139829-d91aecb6caea", "Rust satin bomber jacket held up on a hanger", "draped-camel-coat.html"],
          ["Loop-Back Sweatshirt", 95, "tops", "Chalk", "photo-1620799140408-edc6dcb6d633", "White loop-back sweatshirt laid flat on a table", "column-wool-blazer.html"],
          ["Belted Midi Dress", 210, "dresses", "Black", "photo-1550639525-c97d455acf70", "Woman in a black knit top and belted quilted midi skirt", "olive-strap-playsuit.html"],
          ["Washed Cotton Tee", 48, "tops", "Sky", "photo-1564584217132-2271feaeb3c5", "Pale blue washed cotton tee on a hanger", "column-wool-blazer.html"]
        ]
      %>
<% [["all", "All"], ["outerwear", "Outerwear"], ["knitwear", "Knitwear"], ["tops", "Tops"], ["dresses", "Dresses"]].each do |value, label| %>
<% end %>
<% products.each_with_index do |(name, price, category, color, photo, alt, href), index| %>
<% end %>
<!-- block:start reviews -->
    <section id="reviews" class="mx-auto max-w-[1600px] px-5 py-16 sm:px-8 lg:px-10 lg:py-24">
      <%
        reviews = [
          ["The blazer drapes exactly the way I hoped. It has become the one thing I pack for every trip.", "Mara L.", "Column Wool Blazer", "avatar-2"],
          ["Soft from the first wash and the cut still holds after a winter of wear. Rare to find that balance.", "Hanna K.", "Fine Merino Turtleneck", "avatar-5"],
          ["Packaging was plastic-free, the fit notes were spot on, and the coat looks better in person.", "Jonas R.", "Draped Camel Coat", "avatar-3"],
          ["I own fewer clothes than ever and wear all of them. This label is a big reason why.", "Aiko T.", "Loop-Back Sweatshirt", "avatar-6"],
          ["Quiet, well made, and easy to style up or down. Exchanging a size took two days.", "Elena V.", "Olive Strap Playsuit", "avatar-8"]
        ]
      %>
      <div class="flex items-end justify-between gap-6" data-reveal>
        <div>
          <p class="text-[13px] uppercase tracking-[0.18em] text-stone">Worn &amp; reviewed</p>
          <h2 class="mt-3 font-display text-4xl font-medium uppercase leading-[1.05] tracking-[-0.015em] md:text-5xl">In their words</h2>
        </div>
      </div>
      <div data-carousel class="relative mt-10">
        <div class="overflow-hidden">
          <div data-carousel-track class="-mx-3 flex transition-transform duration-500">
            <% reviews.each do |quote, name, product, avatar| %>
              <figure class="w-full shrink-0 px-3 md:w-1/2 lg:w-1/3">
                <div class="flex h-full flex-col justify-between border border-line bg-white p-7 lg:p-9">
                  <blockquote class="font-display text-xl leading-snug lg:text-[22px]">“<%= quote %>”</blockquote>
                  <figcaption class="mt-10 flex items-center gap-4">
                    <img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/<%= avatar %>.jpg" alt="Portrait of <%= name %>" loading="lazy" class="h-11 w-11 object-cover grayscale">
                    <span class="text-sm leading-tight">
                      <span class="block font-medium"><%= name %></span>
                      <span class="block text-stone">Bought the <%= product %></span>
                    </span>
                  </figcaption>
                </div>
              </figure>
            <% end %>
          </div>
        </div>
        <div class="mt-8 flex items-center justify-between gap-6">
          <div data-carousel-dots class="flex gap-2 text-ink"></div>
          <div class="flex gap-2">
            <button type="button" data-carousel-prev aria-label="Previous review" class="flex h-12 w-12 items-center justify-center border border-ink transition-colors hover:bg-ink hover:text-white"><i class="fa-solid fa-arrow-left text-sm"></i></button>
            <button type="button" data-carousel-next aria-label="Next review" class="flex h-12 w-12 items-center justify-center border border-ink transition-colors hover:bg-ink hover:text-white"><i class="fa-solid fa-arrow-right text-sm"></i></button>
          </div>
        </div>
      </div>
    </section>
    <!-- block:end reviews -->
<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));
        button.setAttribute("aria-label", open ? "Open menu" : "Close menu");
        menu.classList.toggle("hidden", open);
      });
    });

    (() => {
      const counters = document.querySelectorAll("[data-cart-count]");
      const read = () => {
        try { return localStorage.getItem("oblique-bag-count"); } catch (error) { return null; }
      };
      const write = (value) => {
        try { localStorage.setItem("oblique-bag-count", String(value)); } catch (error) {}
      };
      const stored = Number(read());
      let count = read() === null || Number.isNaN(stored) ? Number(counters[0]?.textContent || 0) : stored;
      const render = () => counters.forEach((counter) => { counter.textContent = count; });
      render();
      document.querySelectorAll("[data-add-to-cart]").forEach((button) => {
        const label = button.textContent;
        button.addEventListener("click", () => {
          const qtyInput = button.dataset.qtySource ? document.querySelector(button.dataset.qtySource) : null;
          count += qtyInput ? Math.max(1, Number(qtyInput.value) || 1) : 1;
          write(count);
          render();
          button.textContent = "Added to bag";
          setTimeout(() => { button.textContent = label; }, 1400);
        });
      });
    })();

    document.querySelectorAll("[data-filter-group]").forEach((group) => {
      const items = group.closest("section").querySelectorAll("[data-filter-items] [data-category]");
      const activeClasses = ["bg-ink", "text-white"];
      group.addEventListener("click", (event) => {
        const button = event.target.closest("[data-filter]");
        if (!button) return;
        const filter = button.dataset.filter;
        group.querySelectorAll("[data-filter]").forEach((chip) => {
          const active = chip === button;
          chip.setAttribute("aria-pressed", String(active));
          activeClasses.forEach((cls) => chip.classList.toggle(cls, active));
        });
        items.forEach((item) => {
          item.hidden = !(filter === "all" || item.dataset.category.split(" ").includes(filter));
        });
      });
    });

    document.querySelectorAll("[data-carousel]").forEach((carousel) => {
      const track = carousel.querySelector("[data-carousel-track]");
      const slides = [...track.children];
      const dots = carousel.querySelector("[data-carousel-dots]");
      let index = 0;
      const perView = () => Math.max(1, Math.round(track.clientWidth / slides[0].clientWidth));
      const maxIndex = () => Math.max(0, slides.length - perView());
      const render = () => {
        track.style.transform = `translateX(-${index * slides[0].clientWidth}px)`;
        dots?.querySelectorAll("button").forEach((dot, i) => dot.setAttribute("aria-current", String(i === index)));
      };
      const go = (next) => { const max = maxIndex(); index = next > max ? 0 : next < 0 ? max : next; render(); };
      const buildDots = () => {
        if (!dots) return;
        dots.innerHTML = "";
        for (let i = 0; i <= maxIndex(); i++) {
          const dot = document.createElement("button");
          dot.type = "button";
          dot.className = "h-2 w-6 bg-current opacity-20 transition-opacity aria-[current=true]:opacity-100";
          dot.setAttribute("aria-label", `Go to review ${i + 1}`);
          dot.addEventListener("click", () => go(i));
          dots.append(dot);
        }
      };
      carousel.querySelector("[data-carousel-prev]")?.addEventListener("click", () => go(index - 1));
      carousel.querySelector("[data-carousel-next]")?.addEventListener("click", () => go(index + 1));
      addEventListener("resize", () => { buildDots(); go(Math.min(index, maxIndex())); });
      buildDots();
      render();
    });

    document.querySelectorAll("[data-form-message]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        const status = form.querySelector("[data-form-status]");
        if (status) status.textContent = form.dataset.formMessage;
        form.reset();
      });
    });

    (() => {
      const items = document.querySelectorAll("[data-reveal]");
      const skip = navigator.webdriver || /HeadlessChrome/.test(navigator.userAgent) || !("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>
</body>
</html>

From this template

Oblique screenshot

E-commerce

Oblique

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