Free
Reviews
Leafway Reviews
A reviews block extracted from the Leafway template, available in Tailwind CSS.
0
11
A reviews block extracted from the Leafway 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>Leafway Reviews | Tailwind CSS UI Block</title>
<meta name="description" content="A reviews block extracted from the Leafway template, available in Tailwind CSS.">
<meta name="keywords" content="Leafway, Tailwind CSS template, HTML website template, startup template, mobile app landing page, eco app, green mobility, bike sharing app, sustainable transport, app download page">
<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="Leafway | Tailwind CSS Startup Template">
<meta property="og:description" content="A playful, illustrated Tailwind CSS startup template for green mobility apps, with phone hotspots, a commute impact simulator and a transit pass pricing card.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Leafway template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Leafway | Tailwind CSS Startup Template">
<meta name="twitter:description" content="A playful, illustrated Tailwind CSS startup template for green mobility apps, with phone hotspots, a commute impact simulator and a transit pass pricing card.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Leafway 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=Chivo:wght@300;400;500;700&family=Syne:wght@700;800&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { leaf: { DEFAULT: '#55ae80', deep: '#3f9168', soft: '#e9f5ee' }, lilac: { DEFAULT: '#b693f2', soft: '#efe6fd' }, lime: '#c8e57c', ink: '#2b2d36' },
fontFamily: { sans: ['Chivo', 'sans-serif'], display: ['Syne', '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; } }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.spin-slow { animation: spin 14s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes spin { to { transform: rotate(360deg); } }
.hotspot::after { content: ""; position: absolute; inset: -6px; border-radius: 9999px; border: 2px solid currentColor; opacity: .5; animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }
.sim-tree { transition: opacity .4s ease, transform .4s ease; transform-origin: bottom; transform-box: fill-box; }
.sim-tree[data-off] { opacity: 0; transform: scale(.2); }
.marquee { display: flex; overflow: hidden; gap: 2.5rem; }
.marquee-track { display: flex; flex-shrink: 0; align-items: center; gap: 2.5rem; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 2.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) {
html { scroll-behavior: auto; }
.float, .float-slow, .spin-slow, .marquee-track, .hotspot::after { animation: none; }
.marquee { overflow-x: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-white font-sans text-ink antialiased">
<!-- block:start reviews -->
<section class="bg-leaf-soft">
<div class="mx-auto max-w-6xl px-5 py-20 md:px-8 lg:py-28">
<div class="flex flex-wrap items-end justify-between gap-6">
<h2 class="max-w-xl font-display text-4xl font-extrabold leading-tight md:text-5xl">Riders are talking</h2>
<p class="flex items-center gap-2 font-bold"><span class="text-leaf-deep">★★★★★</span> 4.8 from 26,000 ratings</p>
</div>
<div class="mt-12 columns-1 gap-5 md:columns-2 lg:columns-3">
<article class="mb-5 break-inside-avoid rounded-2xl border-2 border-ink p-5 bg-lilac-soft" data-reveal style="--reveal-delay: 0ms">
<header class="flex items-center gap-3">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-2.jpg" alt="Portrait of Ana Ferreira" class="h-11 w-11 rounded-full border-2 border-ink object-cover" loading="lazy">
<div class="min-w-0 flex-1"><p class="truncate font-bold">Ana Ferreira</p><p class="truncate text-sm text-ink/60">@anaridesgreen · 2h</p></div>
<i class="fa-solid fa-leaf text-leaf" aria-hidden="true"></i>
</header>
<p class="mt-4 leading-relaxed">Sold my second car in March. Leafway + the 728 bus covers everything, and I've saved €340 already 🌱</p>
<footer class="mt-4 flex items-center gap-6 text-sm text-ink/60">
<button type="button" data-like aria-pressed="false" aria-label="Like this post by Ana Ferreira" class="group inline-flex items-center gap-2 rounded-full px-2 py-1 transition hover:bg-white aria-pressed:text-[#d6336c]">
<span class="group-aria-pressed:hidden"><i class="fa-regular fa-heart" aria-hidden="true"></i></span><span class="hidden group-aria-pressed:inline"><i class="fa-solid fa-heart" aria-hidden="true"></i></span><span data-like-count>214</span>
</button>
<span class="inline-flex items-center gap-2"><i class="fa-regular fa-comment" aria-hidden="true"></i>23</span>
</footer>
</article>
<article class="mb-5 break-inside-avoid rounded-2xl border-2 border-ink p-5 bg-white" data-reveal style="--reveal-delay: 100ms">
<header class="flex items-center gap-3">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-7.jpg" alt="Portrait of Tom Visser" class="h-11 w-11 rounded-full border-2 border-ink object-cover" loading="lazy">
<div class="min-w-0 flex-1"><p class="truncate font-bold">Tom Visser</p><p class="truncate text-sm text-ink/60">@tomonwheels · 5h</p></div>
<i class="fa-solid fa-leaf text-leaf" aria-hidden="true"></i>
</header>
<p class="mt-4 leading-relaxed">The impact counter is weirdly motivating. 41 kg this month and my commute is 10 minutes faster.</p>
<footer class="mt-4 flex items-center gap-6 text-sm text-ink/60">
<button type="button" data-like aria-pressed="false" aria-label="Like this post by Tom Visser" class="group inline-flex items-center gap-2 rounded-full px-2 py-1 transition hover:bg-white aria-pressed:text-[#d6336c]">
<span class="group-aria-pressed:hidden"><i class="fa-regular fa-heart" aria-hidden="true"></i></span><span class="hidden group-aria-pressed:inline"><i class="fa-solid fa-heart" aria-hidden="true"></i></span><span data-like-count>98</span>
</button>
<span class="inline-flex items-center gap-2"><i class="fa-regular fa-comment" aria-hidden="true"></i>10</span>
</footer>
</article>
<article class="mb-5 break-inside-avoid rounded-2xl border-2 border-ink p-5 bg-leaf-soft" data-reveal style="--reveal-delay: 200ms">
<header class="flex items-center gap-3">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-4.jpg" alt="Portrait of Lucía Ramos" class="h-11 w-11 rounded-full border-2 border-ink object-cover" loading="lazy">
<div class="min-w-0 flex-1"><p class="truncate font-bold">Lucía Ramos</p><p class="truncate text-sm text-ink/60">@luciaramos · 1d</p></div>
<i class="fa-solid fa-leaf text-leaf" aria-hidden="true"></i>
</header>
<p class="mt-4 leading-relaxed">E-bike to the office, car-share for IKEA runs. Didn't think it'd be this easy to ditch the parking fees.</p>
<footer class="mt-4 flex items-center gap-6 text-sm text-ink/60">
<button type="button" data-like aria-pressed="false" aria-label="Like this post by Lucía Ramos" class="group inline-flex items-center gap-2 rounded-full px-2 py-1 transition hover:bg-white aria-pressed:text-[#d6336c]">
<span class="group-aria-pressed:hidden"><i class="fa-regular fa-heart" aria-hidden="true"></i></span><span class="hidden group-aria-pressed:inline"><i class="fa-solid fa-heart" aria-hidden="true"></i></span><span data-like-count>352</span>
</button>
<span class="inline-flex items-center gap-2"><i class="fa-regular fa-comment" aria-hidden="true"></i>39</span>
</footer>
</article>
<article class="mb-5 break-inside-avoid rounded-2xl border-2 border-ink p-5 bg-white" data-reveal style="--reveal-delay: 0ms">
<header class="flex items-center gap-3">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-9.jpg" alt="Portrait of Marco Bellini" class="h-11 w-11 rounded-full border-2 border-ink object-cover" loading="lazy">
<div class="min-w-0 flex-1"><p class="truncate font-bold">Marco Bellini</p><p class="truncate text-sm text-ink/60">@marcob · 2d</p></div>
<i class="fa-solid fa-leaf text-leaf" aria-hidden="true"></i>
</header>
<p class="mt-4 leading-relaxed">Unlocked a bike at 6am in pouring rain, two taps, no drama. That's the review.</p>
<footer class="mt-4 flex items-center gap-6 text-sm text-ink/60">
<button type="button" data-like aria-pressed="false" aria-label="Like this post by Marco Bellini" class="group inline-flex items-center gap-2 rounded-full px-2 py-1 transition hover:bg-white aria-pressed:text-[#d6336c]">
<span class="group-aria-pressed:hidden"><i class="fa-regular fa-heart" aria-hidden="true"></i></span><span class="hidden group-aria-pressed:inline"><i class="fa-solid fa-heart" aria-hidden="true"></i></span><span data-like-count>87</span>
</button>
<span class="inline-flex items-center gap-2"><i class="fa-regular fa-comment" aria-hidden="true"></i>9</span>
</footer>
</article>
<article class="mb-5 break-inside-avoid rounded-2xl border-2 border-ink p-5 bg-lime/40" data-reveal style="--reveal-delay: 100ms">
<header class="flex items-center gap-3">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-5.jpg" alt="Portrait of Ines Duarte" class="h-11 w-11 rounded-full border-2 border-ink object-cover" loading="lazy">
<div class="min-w-0 flex-1"><p class="truncate font-bold">Ines Duarte</p><p class="truncate text-sm text-ink/60">@ines.d · 3d</p></div>
<i class="fa-solid fa-leaf text-leaf" aria-hidden="true"></i>
</header>
<p class="mt-4 leading-relaxed">Our whole team switched for the 'green commute week'. Half of us never went back to driving.</p>
<footer class="mt-4 flex items-center gap-6 text-sm text-ink/60">
<button type="button" data-like aria-pressed="false" aria-label="Like this post by Ines Duarte" class="group inline-flex items-center gap-2 rounded-full px-2 py-1 transition hover:bg-white aria-pressed:text-[#d6336c]">
<span class="group-aria-pressed:hidden"><i class="fa-regular fa-heart" aria-hidden="true"></i></span><span class="hidden group-aria-pressed:inline"><i class="fa-solid fa-heart" aria-hidden="true"></i></span><span data-like-count>176</span>
</button>
<span class="inline-flex items-center gap-2"><i class="fa-regular fa-comment" aria-hidden="true"></i>19</span>
</footer>
</article>
<article class="mb-5 break-inside-avoid rounded-2xl border-2 border-ink p-5 bg-white" data-reveal style="--reveal-delay: 200ms">
<header class="flex items-center gap-3">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-3.jpg" alt="Portrait of Pieter Jansen" class="h-11 w-11 rounded-full border-2 border-ink object-cover" loading="lazy">
<div class="min-w-0 flex-1"><p class="truncate font-bold">Pieter Jansen</p><p class="truncate text-sm text-ink/60">@pjansen · 4d</p></div>
<i class="fa-solid fa-leaf text-leaf" aria-hidden="true"></i>
</header>
<p class="mt-4 leading-relaxed">Love that it shows the greenest route first, not just the fastest. Usually they're the same!</p>
<footer class="mt-4 flex items-center gap-6 text-sm text-ink/60">
<button type="button" data-like aria-pressed="false" aria-label="Like this post by Pieter Jansen" class="group inline-flex items-center gap-2 rounded-full px-2 py-1 transition hover:bg-white aria-pressed:text-[#d6336c]">
<span class="group-aria-pressed:hidden"><i class="fa-regular fa-heart" aria-hidden="true"></i></span><span class="hidden group-aria-pressed:inline"><i class="fa-solid fa-heart" aria-hidden="true"></i></span><span data-like-count>64</span>
</button>
<span class="inline-flex items-center gap-2"><i class="fa-regular fa-comment" aria-hidden="true"></i>7</span>
</footer>
</article>
</div>
</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);
});
});
document.querySelectorAll('[data-hotspots]').forEach((root) => {
const select = (id) => {
root.querySelectorAll('[data-hotspot]').forEach((spot) => spot.setAttribute('aria-pressed', String(spot.dataset.hotspot === id)));
root.querySelectorAll('[data-hotspot-item]').forEach((item) => item.setAttribute('aria-pressed', String(item.dataset.hotspotItem === id)));
};
root.addEventListener('click', (event) => {
const target = event.target.closest('[data-hotspot], [data-hotspot-item]');
if (target) select(target.dataset.hotspot || target.dataset.hotspotItem);
});
});
document.querySelectorAll('[data-simulator]').forEach((sim) => {
const km = sim.querySelector('[data-sim-km]');
const trees = [...sim.querySelectorAll('[data-sim-tree]')];
const checked = (name) => [...sim.querySelectorAll(`[name="${name}"]`)].find((input) => input.checked);
const update = () => {
const mode = checked('mode');
const days = Number(checked('days')?.value || 5);
const distance = Number(km.value);
const kmYear = distance * 2 * days * 48;
const co2 = Math.round((Number(sim.dataset.carGram) - Number(mode.dataset.gram)) * kmYear / 1000);
const money = Math.round((Number(sim.dataset.carCost) - Number(mode.dataset.cost)) * kmYear);
const treeCount = Math.round(co2 / 21);
sim.querySelector('[data-sim-km-label]').textContent = `${distance} km`;
sim.querySelector('[data-sim-co2]').textContent = co2.toLocaleString('en-US');
sim.querySelector('[data-sim-money]').textContent = money.toLocaleString('en-US');
sim.querySelector('[data-sim-trees]').textContent = treeCount.toLocaleString('en-US');
trees.forEach((tree, index) => tree.toggleAttribute('data-off', index >= Math.min(treeCount, trees.length)));
};
sim.addEventListener('input', update);
sim.addEventListener('change', update);
});
document.querySelectorAll('[data-like]').forEach((button) => {
button.addEventListener('click', () => {
const liked = button.getAttribute('aria-pressed') === 'true';
const count = button.querySelector('[data-like-count]');
button.setAttribute('aria-pressed', String(!liked));
count.textContent = Number(count.textContent) + (liked ? -1 : 1);
});
});
document.querySelectorAll('[data-flip]').forEach((card) => {
card.addEventListener('click', () => card.setAttribute('aria-pressed', String(card.getAttribute('aria-pressed') !== 'true')));
});
document.querySelectorAll('[data-compare]').forEach((compare) => {
const range = compare.querySelector('[data-compare-range]');
const update = () => compare.style.setProperty('--split', `${range.value}%`);
range.addEventListener('input', update);
update();
});
document.querySelectorAll('[data-tabs]').forEach((tablist) => {
const tabs = [...tablist.querySelectorAll('[role="tab"]')];
const select = (tab) => tabs.forEach((other) => {
const active = other === tab;
other.setAttribute('aria-selected', String(active));
other.tabIndex = active ? 0 : -1;
document.getElementById(other.getAttribute('aria-controls')).hidden = !active;
});
tabs.forEach((tab, index) => {
tab.addEventListener('click', () => select(tab));
tab.addEventListener('keydown', (event) => {
const step = { ArrowRight: 1, ArrowDown: 1, ArrowLeft: -1, ArrowUp: -1 }[event.key];
if (!step) return;
event.preventDefault();
const next = tabs[(index + step + tabs.length) % tabs.length];
next.focus();
select(next);
});
});
});
document.querySelectorAll('[data-chat-faq]').forEach((chat) => {
const log = chat.querySelector('[data-chat-log]');
chat.querySelectorAll('[data-chat-question]').forEach((button) => {
button.addEventListener('click', () => {
const template = chat.querySelector(`#${button.dataset.chatQuestion}`);
const entry = template.content.cloneNode(true);
log.append(entry);
button.disabled = true;
log.lastElementChild?.scrollIntoView({ block: 'nearest', behavior: matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth' });
});
});
});
document.querySelectorAll('[data-sentence-form]').forEach((form) => {
form.addEventListener('submit', (event) => {
event.preventDefault();
const status = form.querySelector('[data-form-status]');
if (!form.checkValidity()) {
status.textContent = form.dataset.error;
form.querySelector(':invalid')?.focus();
return;
}
status.textContent = form.dataset.success;
form.reset();
});
});
document.querySelectorAll('[data-current-year]').forEach((el) => { el.textContent = new Date().getFullYear(); });
(() => {
const skip = navigator.webdriver || !('IntersectionObserver' in window) || matchMedia('(prefers-reduced-motion: reduce)').matches;
if (skip) return;
const counters = document.querySelectorAll('[data-count-to]');
const countObserver = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (!entry.isIntersecting) return;
countObserver.unobserve(entry.target);
const target = Number(entry.target.dataset.countTo);
const start = performance.now();
const tick = (now) => {
const progress = Math.min(1, (now - start) / 1400);
entry.target.textContent = Math.round(target * (1 - Math.pow(1 - progress, 3))).toLocaleString('en-US');
if (progress < 1) requestAnimationFrame(tick);
};
requestAnimationFrame(tick);
});
}, { threshold: 0.5 });
counters.forEach((counter) => countObserver.observe(counter));
const items = document.querySelectorAll('[data-reveal]');
if (!items.length) 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
Startup
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.