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

Halcyo Reviews

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

0 17
Halcyo Reviews preview

Download Codebase

Commercial License

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

halcyo.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>Halcyo Reviews | Tailwind CSS UI Block</title>
  <meta name="description" content="A reviews block extracted from the Halcyo template, available in Tailwind CSS.">
  <meta name="keywords" content="Halcyo, Tailwind CSS template, HTML website template, ecommerce template, earbuds store, headphones shop, audio brand website, product page, shopping cart, gadget store">
  <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="Halcyo | Tailwind CSS Ecommerce Template">
  <meta property="og:description" content="A bright Tailwind CSS ecommerce template for earbuds, with a colour switcher, a sound tuner, a noise-cancelling slider and a chat-style FAQ.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Halcyo template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Halcyo | Tailwind CSS Ecommerce Template">
  <meta name="twitter:description" content="A bright Tailwind CSS ecommerce template for earbuds, with a colour switcher, a sound tuner, a noise-cancelling slider and a chat-style FAQ.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Halcyo 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=Lexend:wght@300;400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { ink: { DEFAULT: '#0b0b1d', soft: '#4a4a5e' }, haze: { DEFAULT: '#dbe4fb', deep: '#c9d6f7' }, pill: '#f2f2f5', sky: '#5b8dff', iris: '#9b8cff', lilac: '#d9a3ff' },
          fontFamily: { sans: ['Lexend', 'sans-serif'] },
          backgroundImage: { glow: 'linear-gradient(160deg, #5b8dff 0%, #9b8cff 55%, #d9a3ff 100%)' }
        }
      }
    }
  </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; } }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .no-scrollbar { scrollbar-width: none; }
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .ring-meter circle:last-child { transition: stroke-dashoffset 1.2s ease; }
    .stack-card { transition: transform .5s ease, opacity .5s ease; }
    .bubble-in { animation: bubble .35s ease both; }
    @keyframes bubble { from { opacity: 0; transform: translateY(8px); } }
    .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) {
      html { scroll-behavior: auto; }
      .ring-meter circle:last-child, .stack-card { transition: none; }
      .bubble-in { animation: none; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-haze font-sans text-ink antialiased">
<!-- block:start reviews -->
      <section class="rounded-[2rem] bg-white px-5 py-12 md:rounded-[2.5rem] md:px-10 md:py-16" data-stack>
        <div class="flex items-end justify-between gap-4">
          <h2 class="text-3xl font-medium tracking-tight md:text-4xl">Heard from our listeners</h2>
          <p class="shrink-0 text-sm"><i class="fa-solid fa-star text-iris" aria-hidden="true"></i> 4.8 / 5</p>
        </div>
        <div class="relative mt-10 h-72" aria-live="polite">
            <figure class="stack-card absolute inset-x-0 top-0 flex h-64 flex-col justify-between rounded-3xl p-7 bg-haze" data-stack-card>
              <blockquote class="text-xl leading-snug md:text-2xl">“Best gym buds I&#39;ve owned. They stay put through burpees and the bass is huge.”</blockquote>
              <figcaption class="flex items-center gap-3"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-1.jpg" alt="" class="h-11 w-11 rounded-full object-cover"><span><span class="block font-medium">Maya R.</span><span class="text-sm text-ink-soft">Owns Drift Pro</span></span></figcaption>
            </figure>
            <figure class="stack-card absolute inset-x-0 top-0 flex h-64 flex-col justify-between rounded-3xl p-7 bg-pill" data-stack-card>
              <blockquote class="text-xl leading-snug md:text-2xl">“I wear them on the train every day. The city just disappears.”</blockquote>
              <figcaption class="flex items-center gap-3"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-3.jpg" alt="" class="h-11 w-11 rounded-full object-cover"><span><span class="block font-medium">Tom H.</span><span class="text-sm text-ink-soft">Owns Drift Pro</span></span></figcaption>
            </figure>
            <figure class="stack-card absolute inset-x-0 top-0 flex h-64 flex-col justify-between rounded-3xl p-7 bg-lilac/30" data-stack-card>
              <blockquote class="text-xl leading-snug md:text-2xl">“Tiny, light, and the case fits my smallest pocket.”</blockquote>
              <figcaption class="flex items-center gap-3"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-5.jpg" alt="" class="h-11 w-11 rounded-full object-cover"><span><span class="block font-medium">Leila K.</span><span class="text-sm text-ink-soft">Owns Drift Air</span></span></figcaption>
            </figure>
            <figure class="stack-card absolute inset-x-0 top-0 flex h-64 flex-col justify-between rounded-3xl p-7 bg-sky/20" data-stack-card>
              <blockquote class="text-xl leading-snug md:text-2xl">“Calls sound clear even in a windy park. My team noticed.”</blockquote>
              <figcaption class="flex items-center gap-3"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-6.jpg" alt="" class="h-11 w-11 rounded-full object-cover"><span><span class="block font-medium">Sam O.</span><span class="text-sm text-ink-soft">Owns Drift Air</span></span></figcaption>
            </figure>
        </div>
        <button type="button" data-stack-next class="mt-4 flex items-center gap-3 rounded-full bg-ink px-6 py-3 text-white transition hover:bg-sky">Next review<i class="fa-solid fa-shuffle" aria-hidden="true"></i></button>
      </section>
      <!-- block:end reviews -->
<script>
    const reducedMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
    const watchMotion = !reducedMotion && !navigator.webdriver && 'IntersectionObserver' in window;
    const store = (key) => ({ get: () => { try { return JSON.parse(localStorage.getItem(key)) || []; } catch (error) { return []; } }, set: (value) => { try { localStorage.setItem(key, JSON.stringify(value)); } catch (error) { /* storage unavailable */ } } });
    const cart = store('halcyo-cart');
    const wish = store('halcyo-wish');
    const paintCounts = () => {
      document.querySelectorAll('[data-cart-count]').forEach((el) => { el.textContent = cart.get().length; });
      document.querySelectorAll('[data-wish-count]').forEach((el) => { el.textContent = wish.get().length; });
      document.querySelectorAll('[data-wish]').forEach((button) => button.setAttribute('aria-pressed', String(wish.get().includes(button.dataset.wish))));
    };
    paintCounts();

    document.querySelectorAll('[data-menu-toggle]').forEach((button) => {
      const menu = document.getElementById(button.getAttribute('aria-controls'));
      button.addEventListener('click', () => {
        const open = button.getAttribute('aria-expanded') === 'true';
        button.setAttribute('aria-expanded', String(!open));
        menu.classList.toggle('hidden', open);
      });
    });

    document.querySelectorAll('[data-add-cart]').forEach((button) => button.addEventListener('click', () => {
      cart.set([...cart.get(), button.dataset.addCart]);
      paintCounts();
      button.animate([{ transform: 'scale(1)' }, { transform: 'scale(1.12)' }, { transform: 'scale(1)' }], { duration: reducedMotion ? 0 : 300 });
    }));

    document.querySelectorAll('[data-wish]').forEach((button) => button.addEventListener('click', () => {
      const list = wish.get();
      wish.set(list.includes(button.dataset.wish) ? list.filter((name) => name !== button.dataset.wish) : [...list, button.dataset.wish]);
      paintCounts();
    }));

    document.querySelectorAll('[data-swatch-card]').forEach((root) => {
      const swatches = [...root.querySelectorAll('[data-swatch]')];
      swatches.forEach((swatch) => swatch.addEventListener('click', () => {
        swatches.forEach((other) => other.setAttribute('aria-pressed', String(other === swatch)));
        const image = root.querySelector('[data-swatch-image]');
        image.src = swatch.dataset.img; image.alt = swatch.dataset.alt;
        root.querySelector('[data-swatch-name]').textContent = swatch.dataset.name;
        root.querySelector('[data-swatch-price]').textContent = swatch.dataset.price;
      }));
    });

    document.querySelectorAll('[data-rail]').forEach((root) => {
      const track = root.querySelector('[data-rail-track]');
      const step = () => track.querySelector('li').getBoundingClientRect().width + 16;
      root.querySelector('[data-rail-prev]').addEventListener('click', () => track.scrollBy({ left: -step(), behavior: reducedMotion ? 'auto' : 'smooth' }));
      root.querySelector('[data-rail-next]').addEventListener('click', () => track.scrollBy({ left: step(), behavior: reducedMotion ? 'auto' : 'smooth' }));
    });

    document.querySelectorAll('[data-tuner]').forEach((root) => {
      const matches = [
        { test: (b, v, t) => b >= 70, name: 'Cove Over-Ear', text: 'Big, warm bass and 40 hours of play for long sessions.', img: '1505740420928-5e560c06d30e', alt: 'Black headphones on a yellow backdrop' },
        { test: (b, v, t) => v >= 70, name: 'Drift Air', text: 'Clear, forward vocals — made for podcasts and calls.', img: '1606741965326-cb990ae01bb2', alt: 'White earbuds next to an open charging case' },
        { test: (b, v, t) => t >= 70, name: 'Studio Wired', text: 'Crisp, zero-latency detail for creators and gamers.', img: '1608156639585-b3a032ef9689', alt: 'Wired white earbuds on a white surface' },
        { test: (b, v, t) => b + v + t < 140, name: 'Drift Glow', text: 'Soft and relaxed, for slow evenings and late reading.', img: '1610438235354-a6ae5528385c', alt: 'Earbuds in a glowing pink case' },
        { test: () => true, name: 'Drift Pro', text: 'Balanced and detailed, with noise cancelling for busy days.', img: '1630080644615-0b157f1574ec', alt: 'Dark earbuds resting on white fabric' }
      ];
      const sliders = [...root.querySelectorAll('[data-eq]')];
      const bars = [...root.querySelectorAll('[data-eq-bar]')];
      const presets = [...root.querySelectorAll('[data-preset]')];
      const paint = () => {
        const [b, v, t] = sliders.map((slider) => Number(slider.value));
        sliders.forEach((slider) => { root.querySelector(`[data-eq-value="${slider.name}"]`).textContent = slider.value; });
        bars.forEach((bar, i) => {
          const x = i / (bars.length - 1);
          const level = x < 0.5 ? b + (v - b) * (x / 0.5) : v + (t - v) * ((x - 0.5) / 0.5);
          const height = 20 + level * 1.2 + Math.sin(i * 1.7) * 6;
          bar.setAttribute('height', height.toFixed(1)); bar.setAttribute('y', (80 - height / 2).toFixed(1));
        });
        const match = matches.find((item) => item.test(b, v, t));
        root.querySelector('[data-match-name]').textContent = match.name;
        root.querySelector('[data-match-text]').textContent = match.text;
        const image = root.querySelector('[data-match-image]');
        image.src = `https://images.unsplash.com/photo-${match.img}?auto=format&fit=crop&w=320&h=320&q=75`; image.alt = match.alt;
      };
      sliders.forEach((slider) => slider.addEventListener('input', () => { presets.forEach((preset) => preset.setAttribute('aria-pressed', 'false')); paint(); }));
      presets.forEach((preset) => preset.addEventListener('click', () => {
        presets.forEach((other) => other.setAttribute('aria-pressed', String(other === preset)));
        preset.dataset.values.split(',').forEach((value, i) => { sliders[i].value = value; });
        paint();
      }));
      paint();
    });

    document.querySelectorAll('[data-compare]').forEach((root) => {
      const range = root.querySelector('[data-compare-range]');
      range.addEventListener('input', () => root.style.setProperty('--pos', `${range.value}%`));
    });

    document.querySelectorAll('[data-stack]').forEach((root) => {
      const cards = [...root.querySelectorAll('[data-stack-card]')];
      let order = cards.map((_, i) => i);
      const paint = () => order.forEach((cardIndex, depth) => {
        const card = cards[cardIndex];
        card.style.zIndex = String(cards.length - depth);
        card.style.transform = `translateY(${depth * 12}px) scale(${1 - depth * 0.04})`;
        card.style.opacity = depth > 2 ? '0' : '1';
        card.setAttribute('aria-hidden', String(depth !== 0));
      });
      const next = () => { order = [...order.slice(1), order[0]]; paint(); };
      root.querySelector('[data-stack-next]').addEventListener('click', next);
      cards.forEach((card) => card.addEventListener('click', next));
      paint();
    });

    document.querySelectorAll('[data-chat]').forEach((root) => {
      const log = root.querySelector('[data-chat-log]');
      const bubble = (text, mine) => {
        const row = document.createElement('p');
        row.className = `bubble-in flex ${mine ? 'justify-end' : 'items-end gap-2'}`;
        row.innerHTML = mine ? '<span class="max-w-[80%] rounded-2xl rounded-br-sm bg-ink px-4 py-3 text-sm text-white"></span>' : '<span class="grid h-8 w-8 shrink-0 place-items-center rounded-full bg-glow text-xs text-white">H</span><span class="max-w-[80%] rounded-2xl rounded-bl-sm bg-white px-4 py-3 text-sm"></span>';
        row.lastElementChild.textContent = text;
        log.append(row);
        log.scrollTop = log.scrollHeight;
      };
      root.querySelectorAll('[data-question]').forEach((button) => button.addEventListener('click', () => {
        bubble(button.textContent.trim(), true);
        setTimeout(() => bubble(button.dataset.answer, false), reducedMotion ? 0 : 450);
      }));
    });

    if (watchMotion) {
      document.documentElement.classList.add('reveal-ready');
      const rings = [...document.querySelectorAll('[data-ring]')];
      rings.forEach((ring) => { ring.style.strokeDashoffset = '326.7'; });
      const observer = new IntersectionObserver((entries) => entries.forEach((entry) => {
        if (!entry.isIntersecting) return;
        entry.target.classList.add('is-visible');
        entry.target.querySelectorAll('[data-ring]').forEach((ring) => { ring.style.strokeDashoffset = (326.7 * (1 - ring.dataset.ring / 100)).toFixed(1); });
        observer.unobserve(entry.target);
      }), { threshold: 0.15 });
      document.querySelectorAll('[data-reveal]').forEach((el) => observer.observe(el));
    }
  </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

Halcyo screenshot Premium

E-commerce

Halcyo

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