Free
Products
Oleandra Products
A products block extracted from the Oleandra template, available in Tailwind CSS.
0
9
A products block extracted from the Oleandra 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>Oleandra Products | Tailwind CSS UI Block</title>
<meta name="description" content="A products block extracted from the Oleandra template, available in Tailwind CSS.">
<meta name="keywords" content="Oleandra, Tailwind CSS template, HTML website template, ecommerce template, skincare store, natural cosmetics shop, beauty brand website, serum product page, skin quiz, shopping cart">
<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="Oleandra | Tailwind CSS Ecommerce Template">
<meta property="og:description" content="A lush Tailwind CSS ecommerce template for natural skincare, with floating product cards, a ritual builder, an ingredient map and a skin quiz.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Oleandra template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Oleandra | Tailwind CSS Ecommerce Template">
<meta name="twitter:description" content="A lush Tailwind CSS ecommerce template for natural skincare, with floating product cards, a ritual builder, an ingredient map and a skin quiz.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Oleandra 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=Instrument+Serif&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { forest: { DEFAULT: '#0e3a22', deep: '#0a2c19', soft: '#155232' }, lime: { DEFAULT: '#b9f45e', soft: '#dcfaa8' }, cream: { DEFAULT: '#f2eed6', deep: '#e6e0bd' } },
fontFamily: { sans: ['Inter', 'sans-serif'], serif: ['"Instrument Serif"', '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; } }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.display { font-family: "Instrument Serif", serif; text-transform: uppercase; letter-spacing: -.02em; line-height: .9; }
.hotspot::after { content: ""; position: absolute; inset: -6px; border-radius: 999px; border: 2px solid #b9f45e; animation: ping 2s ease-out infinite; }
@keyframes ping { 70%, 100% { transform: scale(1.6); opacity: 0; } }
.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; }
.hotspot::after { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-forest font-sans text-cream antialiased">
<!-- block:start products -->
<section class="border-t border-white/10">
<div class="mx-auto grid max-w-[90rem] lg:grid-cols-3">
<div class="border-white/10 px-5 py-12 md:px-10 lg:border-r">
<div class="flex items-center justify-between">
<h2 class="display text-4xl">Ritual board</h2>
<a href="shop.html" class="text-sm text-lime underline underline-offset-4">View all</a>
</div>
<ul class="mt-6 divide-y divide-white/10 border-y border-white/10">
<li><a href="rose-geranium.html" class="group flex items-center gap-4 py-4"><img src="https://images.unsplash.com/photo-1617897903246-719242758050?auto=format&fit=crop&w=140&h=140&q=70" alt="" class="h-16 w-16 rounded-full object-cover"><span class="flex-1"><span class="block font-serif text-2xl leading-tight transition group-hover:text-lime">Night Renewal Serum</span><span class="text-sm text-cream/70">Deep repair for tired, dull skin</span></span><span class="font-serif text-2xl">$35.00</span></a></li>
<li><a href="rose-geranium.html" class="group flex items-center gap-4 py-4"><img src="https://images.unsplash.com/photo-1619451334792-150fd785ee74?auto=format&fit=crop&w=140&h=140&q=70" alt="" class="h-16 w-16 rounded-full object-cover"><span class="flex-1"><span class="block font-serif text-2xl leading-tight transition group-hover:text-lime">Cloud Water Cream</span><span class="text-sm text-cream/70">48-hour hydration, zero heaviness</span></span><span class="font-serif text-2xl">$42.00</span></a></li>
<li><a href="rose-geranium.html" class="group flex items-center gap-4 py-4"><img src="https://images.unsplash.com/photo-1608571423902-eed4a5ad8108?auto=format&fit=crop&w=140&h=140&q=70" alt="" class="h-16 w-16 rounded-full object-cover"><span class="flex-1"><span class="block font-serif text-2xl leading-tight transition group-hover:text-lime">Amber Facial Oil</span><span class="text-sm text-cream/70">Rose geranium and squalane</span></span><span class="font-serif text-2xl">$85.00</span></a></li>
</ul>
</div>
<div class="border-y border-white/10 px-5 py-12 text-center md:px-10 lg:border-y-0 lg:border-r">
<p class="inline-block rounded-full border border-white/20 px-5 py-2 text-sm">Hydration ritual</p>
<h2 class="display mt-5 text-4xl leading-tight md:text-5xl">Nourished within, radiant on the surface</h2>
<div class="relative mx-auto mt-8 w-full max-w-xs">
<img src="https://images.unsplash.com/photo-1573461160327-b450ce3d8e7f?auto=format&fit=crop&w=600&h=600&q=75" alt="Hand dropping facial oil from a pipette" class="aspect-square w-full rounded-full object-cover">
<a href="rituals.html" class="absolute -bottom-3 left-1/2 -translate-x-1/2 whitespace-nowrap rounded-full bg-lime px-6 py-3 font-serif text-xl text-forest transition hover:bg-cream">See the ritual</a>
</div>
</div>
<div class="px-5 py-12 text-center md:px-10">
<img src="https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?auto=format&fit=crop&w=300&h=300&q=75" alt="Woman with soft makeup looking to the side" class="mx-auto h-36 w-36 rounded-full border-4 border-cream object-cover">
<h2 class="display mt-6 text-4xl text-lime md:text-5xl">Gently made, honestly sourced</h2>
<p class="mx-auto mt-4 max-w-sm text-cream/75">Small batches, plant oils from family farms and nothing your skin doesn't need. Every bottle lists where its ingredients grew.</p>
<a href="ingredients.html" class="mt-6 inline-block border-b border-lime pb-1 text-lime">Trace our ingredients</a>
</div>
</div>
</section>
<!-- block:end products -->
<script>
const reducedMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
const watchMotion = !reducedMotion && !navigator.webdriver && 'IntersectionObserver' in window;
const bag = { get: () => { try { return Number(localStorage.getItem('oleandra-bag')) || 0; } catch (error) { return 0; } }, add: (n) => { try { localStorage.setItem('oleandra-bag', String(bag.get() + n)); } catch (error) { /* storage unavailable */ } document.querySelectorAll('[data-bag-count]').forEach((el) => { el.textContent = bag.get(); }); } };
document.querySelectorAll('[data-bag-count]').forEach((el) => { el.textContent = bag.get(); });
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-dropdown]').forEach((root) => {
const toggle = root.querySelector('[data-dropdown-toggle]');
const menu = document.getElementById(toggle.getAttribute('aria-controls'));
const set = (open) => { menu.hidden = !open; toggle.setAttribute('aria-expanded', String(open)); };
toggle.addEventListener('click', () => set(menu.hidden));
document.addEventListener('click', (event) => { if (!root.contains(event.target)) set(false); });
root.addEventListener('keydown', (event) => { if (event.key === 'Escape') { set(false); toggle.focus(); } });
});
document.querySelectorAll('[data-add-bag]').forEach((button) => button.addEventListener('click', () => {
bag.add(1);
const label = button.innerHTML;
button.textContent = 'Added ✓';
setTimeout(() => { button.innerHTML = label; }, 1500);
}));
document.querySelectorAll('[data-builder]').forEach((root) => {
const catalog = {
cleanse: { dry: ['Milk Cleanser', 24], oily: ['Clay Gel Wash', 22], combo: ['Balancing Gel', 22], sensitive: ['Oat Cream Wash', 24] },
treat: { dull: ['Vitamin Glow Serum', 38], lines: ['Night Renewal Serum', 35], breakouts: ['Willow Clear Drops', 32], redness: ['Calm Green Serum', 34] },
seal: { dry: ['Rose Geranium Oil', 85], oily: ['Cloud Water Cream', 42], combo: ['Cloud Water Cream', 42], sensitive: ['Barrier Balm', 39] }
};
const paint = () => {
const skin = root.querySelector('[name="skin"]:checked').value;
const concern = root.querySelector('[name="concern"]:checked').value;
const picks = [catalog.cleanse[skin], catalog.treat[concern], catalog.seal[skin]];
picks.forEach(([name, price], i) => { root.querySelector(`[data-step-name="${i}"]`).textContent = name; root.querySelector(`[data-step-price="${i}"]`).textContent = `$${price}`; });
const full = picks.reduce((sum, [, price]) => sum + price, 0);
root.querySelector('[data-builder-total]').textContent = Math.round(full * 0.85);
root.querySelector('[data-builder-saving]').textContent = `save $${full - Math.round(full * 0.85)}`;
root.querySelector('[data-builder-status]').textContent = '';
};
root.addEventListener('change', paint);
root.querySelector('[data-builder-add]').addEventListener('click', () => { bag.add(3); root.querySelector('[data-builder-status]').textContent = 'Your three-step ritual is in the bag.'; });
paint();
});
document.querySelectorAll('[data-hotspots]').forEach((root) => {
const spots = [...root.querySelectorAll('[data-spot]')];
spots.forEach((spot) => spot.addEventListener('click', () => {
spots.forEach((other) => other.setAttribute('aria-pressed', String(other === spot)));
root.querySelector('[data-spot-name]').textContent = spot.dataset.name;
root.querySelector('[data-spot-text]').textContent = spot.dataset.text;
}));
});
document.querySelectorAll('[data-newsletter]').forEach((form) => {
const status = form.querySelector('[data-form-status]');
form.addEventListener('submit', (event) => {
event.preventDefault();
if (!form.elements.email.checkValidity()) { status.textContent = 'Please enter a valid email address.'; form.elements.email.focus(); return; }
const topics = [...form.querySelectorAll('[name="topics"]:checked')].map((box) => box.value.toLowerCase());
status.textContent = `Welcome! Expect notes on ${topics.join(', ') || 'everything'} — and your 10% code.`;
form.reset();
});
});
if (watchMotion) {
document.documentElement.classList.add('reveal-ready');
const observer = new IntersectionObserver((entries) => entries.forEach((entry) => {
if (entry.isIntersecting) { entry.target.classList.add('is-visible'); 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>
Premium
E-commerce
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.