Free
Products
Dewlume Products
A products block extracted from the Dewlume template, available in Tailwind CSS.
0
12
A products block extracted from the Dewlume 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>Dewlume Products | Tailwind CSS UI Block</title>
<meta name="description" content="A products block extracted from the Dewlume template, available in Tailwind CSS.">
<meta name="keywords" content="Dewlume, Tailwind CSS template, HTML website template, skincare ecommerce template, beauty store website, cosmetics shop, online store design, responsive product catalog">
<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="Dewlume | Tailwind CSS Skincare Ecommerce Template">
<meta property="og:description" content="A warm, editorial Tailwind CSS skincare ecommerce template for beauty brands, cosmetics boutiques, and clean skincare stores selling serums, creams, and bundles online.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Dewlume template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Dewlume | Tailwind CSS Skincare Ecommerce Template">
<meta name="twitter:description" content="A warm, editorial Tailwind CSS skincare ecommerce template for beauty brands, cosmetics boutiques, and clean skincare stores selling serums, creams, and bundles online.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Dewlume 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=Outfit:wght@200;300;400;500;600&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
peach: '#fff0e3',
blush: '#f7e7da',
clay: '#e19f68',
ink: '#111111',
rosy: '#ffa99d'
},
fontFamily: {
sans: ['Outfit', '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; }
}
.wordmark { font-weight: 400; letter-spacing: -0.045em; }
.wordmark sup { top: -1.05em; margin-left: 0.04em; font-size: 0.19em; letter-spacing: 0; }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.cloud-mask {
-webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 72%);
mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 72%);
}
.flower-mask {
-webkit-mask-image: radial-gradient(circle at 50% 48%, #000 52%, transparent 70%);
mask-image: radial-gradient(circle at 50% 48%, #000 52%, transparent 70%);
}
[data-feature-row] .feature-label { transition: color .25s ease; }
[data-feature-row] .feature-arrow { transition: background-color .25s ease, color .25s ease; }
[data-feature-row].is-active .feature-label { color: #8b8580; }
[data-feature-row].is-active .feature-arrow { background: #111; color: #fff; }
[data-feature-image] { transition: transform .5s ease, opacity .3s ease; }
[data-testimonial-avatar] { transition: opacity .3s ease, filter .3s ease; }
[data-testimonial-avatar][data-offset="0"] { width: 3.6rem; height: 3.6rem; opacity: 1; box-shadow: 0 0 0 2px #111; }
[data-testimonial-avatar][data-offset="1"] { width: 2.5rem; height: 2.5rem; opacity: .85; }
[data-testimonial-avatar][data-offset="2"] { width: 1.6rem; height: 1.6rem; opacity: .45; filter: blur(1.5px); }
.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="bg-black font-sans text-ink antialiased">
<!-- block:start products -->
<section id="bestsellers" class="bg-peach pb-24 lg:pb-28">
<div class="mx-auto max-w-[1340px] px-5 sm:px-6 lg:px-8">
<div class="relative flex h-[150px] items-center justify-center overflow-hidden sm:h-[190px] lg:h-[232px]">
<img src="https://images.unsplash.com/photo-1629732047847-50219e9c5aef?auto=format&fit=crop&w=1800&q=80" alt="" class="absolute inset-0 h-full w-full scale-[1.6] object-cover object-[50%_22%]" aria-hidden="true">
<span class="absolute inset-0 bg-[#e19a5c] mix-blend-multiply" aria-hidden="true"></span>
<h2 class="relative text-[17px] text-[#40506e]">Bestsellers</h2>
</div>
</div>
<div id="bestseller-grid" class="mx-auto max-w-[1340px] pl-5 sm:pl-6 lg:pl-8">
<div class="no-scrollbar mt-2 flex snap-x gap-2 overflow-x-auto pr-5 lg:gap-2.5 lg:pr-0">
<article data-category="dry combination" class="group w-[44vw] shrink-0 snap-start sm:w-[200px] lg:w-[168px]">
<div class="relative aspect-[4/5] overflow-hidden bg-white">
<a href="product.html" aria-label="View Dawn Veil Cream"><img src="https://images.unsplash.com/photo-1599305090598-fe179d501227?auto=format&fit=crop&w=500&q=80" alt="Two open jars of rich balm cream on a beige surface" class="h-full w-full object-cover transition duration-700 group-hover:scale-105"></a>
<div class="absolute inset-x-2 bottom-2 flex items-center gap-1.5 transition lg:translate-y-2 lg:opacity-0 lg:group-hover:translate-y-0 lg:group-hover:opacity-100 lg:group-focus-within:translate-y-0 lg:group-focus-within:opacity-100">
<a href="product.html" class="flex-1 rounded-full bg-white py-1.5 text-center text-[11px] shadow-sm">Quick view</a>
<button type="button" data-add-to-cart data-product-name="Dawn Veil Cream" aria-label="Add Dawn Veil Cream to bag" class="flex h-7 w-7 items-center justify-center rounded-full bg-white text-[10px] shadow-sm transition hover:bg-ink hover:text-white"><i class="fa-solid fa-bag-shopping"></i></button>
</div>
</div>
<h3 class="mt-2 text-[12px]"><a href="product.html">Dawn Veil Cream</a></h3>
<p class="text-[12px] font-semibold">$45</p>
</article>
<article data-category="oily combination" class="group w-[44vw] shrink-0 snap-start sm:w-[200px] lg:w-[168px]">
<div class="relative aspect-[4/5] overflow-hidden bg-white">
<a href="product.html" aria-label="View Clear Tide Cleanser"><img src="https://images.unsplash.com/photo-1620916566398-39f1143ab7be?auto=format&fit=crop&w=500&q=80" alt="White gel cleanser tube resting on soft linen" class="h-full w-full object-cover transition duration-700 group-hover:scale-105"></a>
<div class="absolute inset-x-2 bottom-2 flex items-center gap-1.5 transition lg:translate-y-2 lg:opacity-0 lg:group-hover:translate-y-0 lg:group-hover:opacity-100 lg:group-focus-within:translate-y-0 lg:group-focus-within:opacity-100">
<a href="product.html" class="flex-1 rounded-full bg-white py-1.5 text-center text-[11px] shadow-sm">Quick view</a>
<button type="button" data-add-to-cart data-product-name="Clear Tide Cleanser" aria-label="Add Clear Tide Cleanser to bag" class="flex h-7 w-7 items-center justify-center rounded-full bg-white text-[10px] shadow-sm transition hover:bg-ink hover:text-white"><i class="fa-solid fa-bag-shopping"></i></button>
</div>
</div>
<h3 class="mt-2 text-[12px]"><a href="product.html">Clear Tide Cleanser</a></h3>
<p class="text-[12px] font-semibold">$28</p>
</article>
<article data-category="dry oily combination" class="group w-[44vw] shrink-0 snap-start sm:w-[200px] lg:w-[168px]">
<div class="relative aspect-[4/5] overflow-hidden bg-white">
<a href="product.html" aria-label="View Wide Awake Eye Serum"><img src="https://images.unsplash.com/photo-1576426863848-c21f53c60b19?auto=format&fit=crop&w=500&q=80" alt="White dropper bottle with a gold cap on a pale plinth" class="h-full w-full object-cover transition duration-700 group-hover:scale-105"></a>
<div class="absolute inset-x-2 bottom-2 flex items-center gap-1.5 transition lg:translate-y-2 lg:opacity-0 lg:group-hover:translate-y-0 lg:group-hover:opacity-100 lg:group-focus-within:translate-y-0 lg:group-focus-within:opacity-100">
<a href="product.html" class="flex-1 rounded-full bg-white py-1.5 text-center text-[11px] shadow-sm">Quick view</a>
<button type="button" data-add-to-cart data-product-name="Wide Awake Eye Serum" aria-label="Add Wide Awake Eye Serum to bag" class="flex h-7 w-7 items-center justify-center rounded-full bg-white text-[10px] shadow-sm transition hover:bg-ink hover:text-white"><i class="fa-solid fa-bag-shopping"></i></button>
</div>
</div>
<h3 class="mt-2 text-[12px]"><a href="product.html">Wide Awake Eye Serum</a></h3>
<p class="text-[12px] font-semibold">$42</p>
</article>
<article data-category="dry" class="group w-[44vw] shrink-0 snap-start sm:w-[200px] lg:w-[168px]">
<div class="relative aspect-[4/5] overflow-hidden bg-white">
<a href="product.html" aria-label="View Amber Drop Serum"><img src="https://images.unsplash.com/photo-1617897903246-719242758050?auto=format&fit=crop&w=500&q=80" alt="Golden facial oil dropper on a wooden board with eucalyptus" class="h-full w-full object-cover transition duration-700 group-hover:scale-105"></a>
<div class="absolute inset-x-2 bottom-2 flex items-center gap-1.5 transition lg:translate-y-2 lg:opacity-0 lg:group-hover:translate-y-0 lg:group-hover:opacity-100 lg:group-focus-within:translate-y-0 lg:group-focus-within:opacity-100">
<a href="product.html" class="flex-1 rounded-full bg-white py-1.5 text-center text-[11px] shadow-sm">Quick view</a>
<button type="button" data-add-to-cart data-product-name="Amber Drop Serum" aria-label="Add Amber Drop Serum to bag" class="flex h-7 w-7 items-center justify-center rounded-full bg-white text-[10px] shadow-sm transition hover:bg-ink hover:text-white"><i class="fa-solid fa-bag-shopping"></i></button>
</div>
</div>
<h3 class="mt-2 text-[12px]"><a href="product.html">Amber Drop Serum</a></h3>
<p class="text-[12px] font-semibold">$35</p>
</article>
<article data-category="dry" class="group w-[44vw] shrink-0 snap-start sm:w-[200px] lg:w-[168px]">
<div class="relative aspect-[4/5] overflow-hidden bg-white">
<a href="product.html" aria-label="View Cloud Body Butter"><img src="https://images.unsplash.com/photo-1597931752949-98c74b5b159f?auto=format&fit=crop&w=500&q=80" alt="White pump bottle of body lotion on a cream backdrop" class="h-full w-full object-cover transition duration-700 group-hover:scale-105"></a>
<div class="absolute inset-x-2 bottom-2 flex items-center gap-1.5 transition lg:translate-y-2 lg:opacity-0 lg:group-hover:translate-y-0 lg:group-hover:opacity-100 lg:group-focus-within:translate-y-0 lg:group-focus-within:opacity-100">
<a href="product.html" class="flex-1 rounded-full bg-white py-1.5 text-center text-[11px] shadow-sm">Quick view</a>
<button type="button" data-add-to-cart data-product-name="Cloud Body Butter" aria-label="Add Cloud Body Butter to bag" class="flex h-7 w-7 items-center justify-center rounded-full bg-white text-[10px] shadow-sm transition hover:bg-ink hover:text-white"><i class="fa-solid fa-bag-shopping"></i></button>
</div>
</div>
<h3 class="mt-2 text-[12px]"><a href="product.html">Cloud Body Butter</a></h3>
<p class="text-[12px] font-semibold">$40</p>
</article>
<article data-category="combination" class="group w-[44vw] shrink-0 snap-start sm:w-[200px] lg:w-[168px]">
<div class="relative aspect-[4/5] overflow-hidden bg-white">
<a href="product.html" aria-label="View Dew Duo Set"><img src="https://images.unsplash.com/photo-1629198688000-71f23e745b6e?auto=format&fit=crop&w=500&q=80" alt="Skincare tubes and bottles arranged on pastel blocks" class="h-full w-full object-cover transition duration-700 group-hover:scale-105"></a>
<div class="absolute inset-x-2 bottom-2 flex items-center gap-1.5 transition lg:translate-y-2 lg:opacity-0 lg:group-hover:translate-y-0 lg:group-hover:opacity-100 lg:group-focus-within:translate-y-0 lg:group-focus-within:opacity-100">
<a href="product.html" class="flex-1 rounded-full bg-white py-1.5 text-center text-[11px] shadow-sm">Quick view</a>
<button type="button" data-add-to-cart data-product-name="Dew Duo Set" aria-label="Add Dew Duo Set to bag" class="flex h-7 w-7 items-center justify-center rounded-full bg-white text-[10px] shadow-sm transition hover:bg-ink hover:text-white"><i class="fa-solid fa-bag-shopping"></i></button>
</div>
</div>
<h3 class="mt-2 text-[12px]"><a href="product.html">Dew Duo Set</a></h3>
<p class="text-[12px] font-semibold">$55</p>
</article>
<article data-category="oily combination" class="group w-[44vw] shrink-0 snap-start sm:w-[200px] lg:w-[168px]">
<div class="relative aspect-[4/5] overflow-hidden bg-white">
<a href="product.html" aria-label="View Petal Face Mist"><img src="https://images.unsplash.com/photo-1631729371254-42c2892f0e6e?auto=format&fit=crop&w=500&q=80" alt="Three white facial mist bottles lined up on a table" class="h-full w-full object-cover transition duration-700 group-hover:scale-105"></a>
<div class="absolute inset-x-2 bottom-2 flex items-center gap-1.5 transition lg:translate-y-2 lg:opacity-0 lg:group-hover:translate-y-0 lg:group-hover:opacity-100 lg:group-focus-within:translate-y-0 lg:group-focus-within:opacity-100">
<a href="product.html" class="flex-1 rounded-full bg-white py-1.5 text-center text-[11px] shadow-sm">Quick view</a>
<button type="button" data-add-to-cart data-product-name="Petal Face Mist" aria-label="Add Petal Face Mist to bag" class="flex h-7 w-7 items-center justify-center rounded-full bg-white text-[10px] shadow-sm transition hover:bg-ink hover:text-white"><i class="fa-solid fa-bag-shopping"></i></button>
</div>
</div>
<h3 class="mt-2 text-[12px]"><a href="product.html">Petal Face Mist</a></h3>
<p class="text-[12px] font-semibold">$32</p>
</article>
<article data-category="oily" class="group w-[44vw] shrink-0 snap-start sm:w-[200px] lg:w-[168px]">
<div class="relative aspect-[4/5] overflow-hidden bg-white">
<a href="product.html" aria-label="View Balance Night Trio"><img src="https://images.unsplash.com/photo-1611930022073-b7a4ba5fcccd?auto=format&fit=crop&w=500&q=80" alt="Stacked skincare bottles and jars on a neutral backdrop" class="h-full w-full object-cover transition duration-700 group-hover:scale-105"></a>
<div class="absolute inset-x-2 bottom-2 flex items-center gap-1.5 transition lg:translate-y-2 lg:opacity-0 lg:group-hover:translate-y-0 lg:group-hover:opacity-100 lg:group-focus-within:translate-y-0 lg:group-focus-within:opacity-100">
<a href="product.html" class="flex-1 rounded-full bg-white py-1.5 text-center text-[11px] shadow-sm">Quick view</a>
<button type="button" data-add-to-cart data-product-name="Balance Night Trio" aria-label="Add Balance Night Trio to bag" class="flex h-7 w-7 items-center justify-center rounded-full bg-white text-[10px] shadow-sm transition hover:bg-ink hover:text-white"><i class="fa-solid fa-bag-shopping"></i></button>
</div>
</div>
<h3 class="mt-2 text-[12px]"><a href="product.html">Balance Night Trio</a></h3>
<p class="text-[12px] font-semibold">$58</p>
</article>
</div>
</div>
</section>
<!-- block:end products -->
<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);
});
});
document.querySelectorAll("[data-announcement-close]").forEach((button) => {
button.addEventListener("click", () => button.closest("[data-announcement]")?.remove());
});
document.querySelectorAll("[data-copy-code]").forEach((button) => {
button.addEventListener("click", () => {
navigator.clipboard?.writeText(button.dataset.copyCode).catch(() => {});
const icon = button.innerHTML;
button.innerHTML = '<i class="fa-solid fa-check"></i>';
setTimeout(() => { button.innerHTML = icon; }, 1500);
});
});
const toast = document.querySelector("[data-toast]");
let toastTimer;
const showToast = (message) => {
if (!toast) return;
toast.textContent = message;
toast.classList.remove("opacity-0", "translate-y-4");
clearTimeout(toastTimer);
toastTimer = setTimeout(() => toast.classList.add("opacity-0", "translate-y-4"), 2200);
};
const bag = (() => {
const key = "dewlume-bag";
const counters = document.querySelectorAll("[data-cart-count]");
const read = () => {
try {
const stored = parseInt(localStorage.getItem(key), 10);
if (Number.isFinite(stored)) return stored;
} catch (error) {}
return parseInt(counters[0]?.textContent || "0", 10) || 0;
};
const write = (count) => {
counters.forEach((counter) => { counter.textContent = count; });
try { localStorage.setItem(key, String(count)); } catch (error) {}
};
write(read());
return { add: (amount) => write(read() + amount), set: write };
})();
document.addEventListener("click", (event) => {
const button = event.target.closest("[data-add-to-cart]");
if (!button) return;
const amount = parseInt(button.dataset.addToCart, 10) || 1;
const quantityInput = button.dataset.quantityFrom && document.querySelector(button.dataset.quantityFrom);
const total = quantityInput ? (parseInt(quantityInput.value, 10) || 1) : amount;
bag.add(total);
showToast(`${button.dataset.productName || "Item"} added to your bag`);
});
document.querySelectorAll("[data-skin-filter-group]").forEach((group) => {
const target = document.getElementById(group.dataset.skinFilterGroup);
const status = group.parentElement.querySelector("[data-skin-filter-status]");
if (!target) return;
const items = target.querySelectorAll("[data-category]");
const defaultStatus = status?.innerHTML;
group.addEventListener("click", (event) => {
const chip = event.target.closest("[data-filter]");
if (!chip) return;
const turnOn = chip.getAttribute("aria-pressed") !== "true";
const filter = turnOn ? chip.dataset.filter : "all";
group.querySelectorAll("[data-filter]").forEach((button) => {
const active = turnOn && button === chip;
button.setAttribute("aria-pressed", String(active));
["bg-ink", "text-white"].forEach((cls) => button.classList.toggle(cls, active));
button.classList.toggle("bg-white", !active);
});
let shown = 0;
items.forEach((item) => {
const match = filter === "all" || item.dataset.category.split(" ").includes(filter);
item.hidden = !match;
if (match) shown += 1;
});
if (status) {
status.innerHTML = filter === "all" ? defaultStatus : `${shown} bestsellers picked for ${chip.textContent.trim().toLowerCase()}. <a href="#bestsellers" class="underline underline-offset-2">See them</a>`;
}
});
});
document.querySelectorAll("[data-feature-list]").forEach((list) => {
const rows = list.querySelectorAll("[data-feature-row]");
const image = list.querySelector("[data-feature-image]");
const activate = (row) => {
rows.forEach((item) => item.classList.toggle("is-active", item === row));
if (!image) return;
image.src = row.dataset.image;
image.alt = row.dataset.alt;
image.style.transform = `translateY(${row.offsetTop}px) rotate(6deg)`;
};
rows.forEach((row) => {
row.addEventListener("mouseenter", () => activate(row));
row.addEventListener("focus", () => activate(row));
});
});
document.querySelectorAll("[data-testimonials]").forEach((root) => {
const slides = [...root.querySelectorAll("[data-testimonial-slide]")];
const avatars = [...root.querySelectorAll("[data-testimonial-avatar]")];
if (!slides.length) return;
let index = 0;
const render = () => {
const count = slides.length;
slides.forEach((slide, i) => { slide.hidden = i !== index; });
avatars.forEach((avatar, i) => {
let offset = (i - index + count) % count;
if (offset > count / 2) offset -= count;
avatar.dataset.offset = String(Math.abs(offset));
avatar.style.order = String(offset + 10);
avatar.setAttribute("aria-current", String(offset === 0));
});
};
const go = (next) => { index = (next + slides.length) % slides.length; render(); };
root.querySelector("[data-testimonial-prev]")?.addEventListener("click", () => go(index - 1));
root.querySelector("[data-testimonial-next]")?.addEventListener("click", () => go(index + 1));
avatars.forEach((avatar, i) => avatar.addEventListener("click", () => go(i)));
root.addEventListener("keydown", (event) => {
if (event.key === "ArrowLeft") go(index - 1);
if (event.key === "ArrowRight") go(index + 1);
});
});
document.querySelectorAll("[data-newsletter]").forEach((form) => {
form.addEventListener("submit", (event) => {
event.preventDefault();
form.querySelector("[data-newsletter-message]")?.classList.remove("hidden");
form.reset();
});
});
(() => {
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));
})();
</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