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

Marram Reviews

A reviews block extracted from the Marram template, available in Tailwind CSS.

0 2
Marram Reviews preview
marram.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>Marram Reviews | Tailwind CSS UI Block</title>
  <meta name="description" content="A reviews block extracted from the Marram template, available in Tailwind CSS.">
  <meta name="keywords" content="Marram, Tailwind CSS template, HTML website template, travel template, guesthouse website, bed and breakfast template, small hotel website, rooms and rates page, booking request form, minimal travel 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="Marram | Tailwind CSS Travel Template">
  <meta property="og:description" content="A calm Tailwind CSS travel template for guesthouses, bed and breakfasts and small hotels, with a line-drawn emblem, a mustard facts band, room tabs, a sun dial of the day, a handwritten guestbook, rooms and rates and a booking request form.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Marram template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Marram | Tailwind CSS Travel Template">
  <meta name="twitter:description" content="A calm Tailwind CSS travel template for guesthouses, bed and breakfasts and small hotels, with a line-drawn emblem, a mustard facts band, room tabs, a sun dial of the day, a handwritten guestbook, rooms and rates and a booking request form.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Marram 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=Caveat:wght@500&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,800;1,6..12,300&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            paper: '#ecebe8',
            ink: '#161616',
            sun: '#e8d23a',
            clay: '#b4532e',
            stone: '#6f6d68'
          },
          fontFamily: {
            sans: ['"Nunito Sans"', 'sans-serif'],
            hand: ['Caveat', 'cursive']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .airy { font-style: italic; font-weight: 300; letter-spacing: .08em; text-transform: lowercase; }
    .label { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
    .tag { background: #b4532e; color: #fff; padding: .15rem .4rem; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s ease; }
    .tag:hover, .tag[aria-current] { background: #161616; }
    .under { border-bottom: 1.5px solid currentColor; padding-bottom: .2rem; transition: color .2s ease; }
    .under:hover { color: #b4532e; }
    .btn { display: inline-flex; align-items: center; gap: .7rem; background: #161616; color: #fff; padding: .9rem 1.5rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; transition: background-color .2s ease; }
    .btn:hover { background: #b4532e; }
    .side { writing-mode: vertical-rl; }
    .field { width: 100%; border: 0; border-bottom: 1.5px solid #161616; background: transparent; padding: .7rem 0; font-size: 1.05rem; color: #161616; outline: none; border-radius: 0; }
    .field:focus { border-color: #b4532e; }
    .chip { display: inline-flex; align-items: center; border: 1.5px solid #161616; padding: .5rem 1rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
    .chip[aria-pressed="true"], .chip[aria-selected="true"], input:checked + .chip { background: #161616; color: #fff; }
    input:focus-visible + .chip { outline: 2px solid #b4532e; outline-offset: 3px; }
    .dial { position: relative; aspect-ratio: 2 / 1; --x: 50; --y: 12; }
    .dial-sun { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); height: 2.75rem; width: 2.75rem; margin: -1.375rem 0 0 -1.375rem; border: 2.5px solid #161616; border-radius: 999px; background: #ecebe8; transition: left .6s ease, top .6s ease; }
    .note { background: #fff; padding: 1.6rem 1.5rem; break-inside: avoid; margin-bottom: 1.5rem; }
    .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) { .dial-sun { transition: none; } html { scroll-behavior: auto; } }
  </style>
</head>
<body class="bg-paper font-sans text-ink antialiased">
<!-- block:start reviews -->
    <section id="guestbook" class="px-6 py-20 md:px-12 md:py-28">
      <div class="flex flex-wrap items-end justify-between gap-6">
        <div>
          <p class="label text-stone">From the book in the hall</p>
          <h2 class="airy mt-4 text-4xl leading-snug md:text-5xl">what guests wrote</h2>
        </div>
        <p class="label text-stone">Copied out exactly, spelling included</p>
      </div>
      <div class="mt-12 gap-6 sm:columns-2 lg:columns-3">
          <figure class="note" data-reveal style="--reveal-delay: 0ms">
            <blockquote class="font-hand text-3xl leading-tight">We came for two nights and stayed for five. Daniel&#39;s bread should be illegal.</blockquote>
            <figcaption class="mt-5 flex items-baseline justify-between gap-4 border-t border-ink/20 pt-4">
              <span class="text-sm font-semibold">Hattie and Sam, Leeds</span>
              <span class="label text-stone">April</span>
            </figcaption>
          </figure>
          <figure class="note" data-reveal style="--reveal-delay: 80ms">
            <blockquote class="font-hand text-3xl leading-tight">Slept nine hours. I have not done that since 2011.</blockquote>
            <figcaption class="mt-5 flex items-baseline justify-between gap-4 border-t border-ink/20 pt-4">
              <span class="text-sm font-semibold">R. Okonkwo, London</span>
              <span class="label text-stone">May</span>
            </figcaption>
          </figure>
          <figure class="note" data-reveal style="--reveal-delay: 160ms">
            <blockquote class="font-hand text-3xl leading-tight">The dog has asked to move in. We said we would look into it.</blockquote>
            <figcaption class="mt-5 flex items-baseline justify-between gap-4 border-t border-ink/20 pt-4">
              <span class="text-sm font-semibold">The Penhaligons and Biscuit</span>
              <span class="label text-stone">June</span>
            </figcaption>
          </figure>
          <figure class="note" data-reveal style="--reveal-delay: 0ms">
            <blockquote class="font-hand text-3xl leading-tight">No telly, no signal, three books finished. Thank you for the windbreak and for not asking what we do for a living.</blockquote>
            <figcaption class="mt-5 flex items-baseline justify-between gap-4 border-t border-ink/20 pt-4">
              <span class="text-sm font-semibold">Marguerite, Ghent</span>
              <span class="label text-stone">July</span>
            </figcaption>
          </figure>
          <figure class="note" data-reveal style="--reveal-delay: 80ms">
            <blockquote class="font-hand text-3xl leading-tight">Best bath of my life, and I could see a seal from it.</blockquote>
            <figcaption class="mt-5 flex items-baseline justify-between gap-4 border-t border-ink/20 pt-4">
              <span class="text-sm font-semibold">Tom W., Norwich</span>
              <span class="label text-stone">September</span>
            </figcaption>
          </figure>
          <figure class="note" data-reveal style="--reveal-delay: 160ms">
            <blockquote class="font-hand text-3xl leading-tight">Third October in a row. Same room, same chair, same tide table. Do not change a thing.</blockquote>
            <figcaption class="mt-5 flex items-baseline justify-between gap-4 border-t border-ink/20 pt-4">
              <span class="text-sm font-semibold">Eileen and Frank, Derby</span>
              <span class="label text-stone">October</span>
            </figcaption>
          </figure>
      </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));
        menu.classList.toggle("hidden", open);
      });
    });

    (() => {
      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-tabs]").forEach((root) => {
      const dial = root.querySelector("[data-dial]");
      root.addEventListener("click", (event) => {
        const tab = event.target.closest("[data-tab]");
        if (!tab) return;
        root.querySelectorAll("[data-tab]").forEach((button) => button.setAttribute("aria-selected", String(button === tab)));
        root.querySelectorAll("[data-panel]").forEach((panel) => { panel.hidden = panel.dataset.panel !== tab.dataset.tab; });
        if (dial && tab.dataset.x) {
          dial.style.setProperty("--x", tab.dataset.x);
          dial.style.setProperty("--y", tab.dataset.y);
        }
      });
    });

    document.querySelectorAll("[data-filter]").forEach((root) => {
      const count = root.querySelector("[data-filter-count]");
      root.addEventListener("click", (event) => {
        const chip = event.target.closest("[data-filter-chip]");
        if (!chip) return;
        let shown = 0;
        root.querySelectorAll("[data-filter-chip]").forEach((button) => button.setAttribute("aria-pressed", String(button === chip)));
        root.querySelectorAll("[data-tags]").forEach((item) => {
          const match = chip.dataset.filterChip === "all" || item.dataset.tags.split(" ").includes(chip.dataset.filterChip);
          item.hidden = !match;
          if (match) shown += 1;
        });
        if (count) count.textContent = shown;
      });
    });

    document.querySelectorAll("[data-stepper]").forEach((stepper) => {
      const input = stepper.querySelector("input");
      stepper.addEventListener("click", (event) => {
        const button = event.target.closest("[data-step]");
        if (!button) return;
        const next = Number(input.value) + Number(button.dataset.step);
        input.value = Math.min(Number(input.max), Math.max(Number(input.min), next));
        input.dispatchEvent(new Event("input", { bubbles: true }));
      });
    });

    document.querySelectorAll("[data-booking]").forEach((form) => {
      const total = form.querySelector("[data-booking-total]");
      const update = () => {
        const room = form.querySelector("[name=room]");
        const nights = Number(form.querySelector("[name=nights]").value);
        const price = Number(room.selectedOptions[0].dataset.price);
        if (total) total.textContent = `£${(price * nights).toLocaleString("en-GB")}`;
      };
      form.addEventListener("input", update);
      form.addEventListener("reset", () => setTimeout(update));
      const wanted = new URLSearchParams(location.search).get("room");
      const room = form.querySelector("[name=room]");
      if (wanted && [...room.options].some((option) => option.value === wanted)) room.value = wanted;
      update();
    });

    document.querySelectorAll("[data-form]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        const valid = form.checkValidity();
        const error = form.querySelector("[data-form-error]");
        const done = form.querySelector("[data-form-done]");
        if (error) error.hidden = valid;
        if (done) done.hidden = !valid;
        if (valid) form.reset();
      });
    });
  </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>

From this template

Marram screenshot

Travel

Marram

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