Free
Reviews
Calmera Reviews
A reviews block extracted from the Calmera template, available in Tailwind CSS.
0
14
A reviews block extracted from the Calmera template, available in Tailwind CSS.
Free download · up to 5 blocks per day. Unlimited with All-Access
<!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>Calmera Reviews | Tailwind CSS UI Block</title>
<meta name="description" content="A reviews block extracted from the Calmera template, available in Tailwind CSS.">
<meta name="keywords" content="Calmera, Tailwind CSS template, HTML website template, skincare ecommerce, beauty store, clean cosmetics shop, product detail page, 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="Calmera | Tailwind CSS Skincare Ecommerce Template">
<meta property="og:description" content="A calm, premium Tailwind CSS skincare ecommerce template for clean beauty brands, serum and moisturizer shops, and wellness boutiques that sell online.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Calmera template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Calmera | Tailwind CSS Skincare Ecommerce Template">
<meta name="twitter:description" content="A calm, premium Tailwind CSS skincare ecommerce template for clean beauty brands, serum and moisturizer shops, and wellness boutiques that sell online.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Calmera 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 href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@500;600;700;800&family=Instrument+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
ink: "#24141a",
cocoa: "#33201f",
olive: "#676a54",
cream: "#fcf7f1",
mist: "#cbc4c3",
stone: "#8f8a8a",
line: "#ece7e4",
sale: "#ef4444"
},
fontFamily: {
sans: ["Instrument Sans", "ui-sans-serif", "system-ui", "sans-serif"],
display: ["Hanken Grotesk", "Instrument Sans", "sans-serif"]
}
}
}
};
</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; }
[data-wishlist][aria-pressed="true"] svg { fill: currentColor; }
[data-carousel-dots] button[aria-current="true"] { background-color: #24141a; }
</style>
</head>
<body class="bg-white font-sans text-ink antialiased overflow-x-hidden">
<!-- block:start reviews -->
<section id="reviews" class="mx-auto max-w-[1400px] px-5 pt-24 text-center lg:pt-[140px]">
<h2 class="text-[22px] font-semibold lg:text-[26px]">Testimonials</h2>
<div data-carousel class="relative mx-auto mt-10 max-w-[1180px] overflow-hidden lg:mt-14" aria-roledescription="carousel" aria-label="Customer testimonials">
<div data-carousel-track class="flex transition-transform duration-500 ease-out">
<figure class="w-full shrink-0 px-1" aria-label="Review 1 of 3">
<blockquote class="text-[28px] font-semibold leading-[1.15] tracking-[-0.02em] sm:text-[42px] lg:text-[58px]">
<p>“I have tested endless routines, yet this is the first one that genuinely changed how my skin feels. <span class="text-mist">Light, replenishing, and quietly remarkable.”</span></p>
</blockquote>
<figcaption class="mt-10 flex flex-col items-center">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-1.jpg" alt="Portrait of Sofia Marchetti" class="h-16 w-16 rounded-full object-cover">
<span class="mt-3 text-[18px] font-semibold">Sofia Marchetti</span>
<span class="text-[15px] text-stone">Founder, Linen and Loom Studio</span>
<span class="mt-2 flex gap-1 text-[13px] text-ink" aria-label="Rated 5 out of 5">
<i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i>
</span>
</figcaption>
</figure>
<figure class="w-full shrink-0 px-1" aria-label="Review 2 of 3">
<blockquote class="text-[28px] font-semibold leading-[1.15] tracking-[-0.02em] sm:text-[42px] lg:text-[58px]">
<p>“My skin used to feel tight by noon. Two weeks in, it stays soft and settled from morning to night. <span class="text-mist">Nothing else has come close.”</span></p>
</blockquote>
<figcaption class="mt-10 flex flex-col items-center">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-5.jpg" alt="Portrait of Hannah Okafor" class="h-16 w-16 rounded-full object-cover">
<span class="mt-3 text-[18px] font-semibold">Hannah Okafor</span>
<span class="text-[15px] text-stone">Product Designer, Northfield</span>
<span class="mt-2 flex gap-1 text-[13px] text-ink" aria-label="Rated 5 out of 5">
<i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i>
</span>
</figcaption>
</figure>
<figure class="w-full shrink-0 px-1" aria-label="Review 3 of 3">
<blockquote class="text-[28px] font-semibold leading-[1.15] tracking-[-0.02em] sm:text-[42px] lg:text-[58px]">
<p>“The textures melt in and the scent is barely there, exactly what my sensitive skin has been asking for. <span class="text-mist">My shelf has never been simpler.”</span></p>
</blockquote>
<figcaption class="mt-10 flex flex-col items-center">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-6.jpg" alt="Portrait of Lena Brandt" class="h-16 w-16 rounded-full object-cover">
<span class="mt-3 text-[18px] font-semibold">Lena Brandt</span>
<span class="text-[15px] text-stone">Pilates Instructor, Hamburg</span>
<span class="mt-2 flex gap-1 text-[13px] text-ink" aria-label="Rated 5 out of 5">
<i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i><i class="fa-solid fa-star"></i>
</span>
</figcaption>
</figure>
</div>
<div class="mt-10 flex items-center justify-center gap-5">
<button type="button" data-carousel-prev aria-label="Previous review" class="grid h-11 w-11 place-items-center rounded-full border border-ink/20 text-ink/60 transition hover:border-ink hover:text-ink focus-visible:outline focus-visible:outline-2 focus-visible:outline-ink">
<i class="fa-solid fa-arrow-left text-[13px]"></i>
</button>
<div data-carousel-dots class="flex w-[220px] items-center"></div>
<button type="button" data-carousel-next aria-label="Next review" class="grid h-11 w-11 place-items-center rounded-full border border-ink text-ink transition hover:bg-ink hover:text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-ink">
<i class="fa-solid fa-arrow-right text-[13px]"></i>
</button>
</div>
</div>
</section>
<!-- block:end reviews -->
<script>
document.querySelectorAll("[data-menu-toggle], [data-search-toggle]").forEach((button) => {
const panel = document.getElementById(button.getAttribute("aria-controls"));
if (!panel) return;
button.addEventListener("click", () => {
const open = button.getAttribute("aria-expanded") === "true";
button.setAttribute("aria-expanded", String(!open));
panel.classList.toggle("hidden", open);
if (!open) panel.querySelector("input")?.focus();
});
});
(() => {
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));
})();
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)`;
slides.forEach((slide, i) => slide.setAttribute("aria-hidden", String(i !== index)));
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-[3px] flex-1 bg-ink/15 transition-colors aria-[current=true]:bg-ink";
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));
carousel.addEventListener("keydown", (event) => {
if (event.key === "ArrowLeft") go(index - 1);
if (event.key === "ArrowRight") go(index + 1);
});
addEventListener("resize", () => { buildDots(); go(Math.min(index, maxIndex())); });
buildDots();
render();
});
(() => {
const key = "calmera-cart-count";
const badges = document.querySelectorAll("[data-cart-count]");
const read = () => { try { return JSON.parse(localStorage.getItem(key)); } catch (error) { return null; } };
const write = (value) => { try { localStorage.setItem(key, JSON.stringify(value)); } catch (error) {} };
let count = Number(read() ?? badges[0]?.textContent ?? 0);
const paint = () => badges.forEach((badge) => { badge.textContent = count; });
paint();
document.querySelectorAll("[data-add-to-cart]").forEach((button) => {
button.addEventListener("click", () => {
const qty = Number(button.closest("[data-product]")?.querySelector("[data-qty-input]")?.value || 1);
count += qty;
write(count);
paint();
const label = button.querySelector("[data-label]") || button;
const original = label.textContent;
label.textContent = "Added to cart";
button.disabled = true;
setTimeout(() => { label.textContent = original; button.disabled = false; }, 1400);
});
});
})();
document.querySelectorAll("[data-newsletter]").forEach((form) => {
form.addEventListener("submit", (event) => {
event.preventDefault();
const label = form.querySelector("[data-label]");
if (label) label.textContent = "You're on the list";
form.reset();
});
});
</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>
Premium
E-commerce
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.
Tailwind CSS · HTML download