Free
Gallery
Linnet Gallery
A gallery block extracted from the Linnet template, available in Tailwind CSS.
0
6
A gallery block extracted from the Linnet 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>Linnet Gallery | Tailwind CSS UI Block</title>
<meta name="description" content="A gallery block extracted from the Linnet template, available in Tailwind CSS.">
<meta name="keywords" content="Linnet, Tailwind CSS template, HTML website template, restaurant template, tasting menu website, fine dining template, restaurant menu page, table reservation form, wine pairing, food and restaurant template">
<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="Linnet | Tailwind CSS Restaurant Template">
<meta property="og:description" content="A calm Tailwind CSS template for seasonal restaurants, with a draped linen hero in sage green, a five-course menu with a wine pairing, a full menu with dietary filters and a table reservation page.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Linnet template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Linnet | Tailwind CSS Restaurant Template">
<meta name="twitter:description" content="A calm Tailwind CSS template for seasonal restaurants, with a draped linen hero in sage green, a five-course menu with a wine pairing, a full menu with dietary filters and a table reservation page.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Linnet 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=Jost:wght@300;400;500&family=Marcellus&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
sage: { DEFAULT: '#93a39b', deep: '#7b8b84', light: '#b9c7bf', mist: '#d3ddd5' },
linen: { DEFAULT: '#e8eee5', light: '#f4f7f0' },
ink: { DEFAULT: '#1b1f1c', soft: '#38423c', mute: '#55625b' },
clay: '#8f4f33'
},
fontFamily: {
display: ['Marcellus', 'serif'],
sans: ['Jost', 'sans-serif']
}
}
}
}
</script>
<style>
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.display { font-family: Marcellus, serif; text-transform: uppercase; letter-spacing: .16em; line-height: 1.05; }
.label { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; }
.half-link { position: relative; display: inline-block; padding-bottom: .55rem; }
.half-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 46%; background: currentColor; transition: width .4s ease; }
.half-link:hover::after, .half-link:focus-visible::after { width: 100%; }
.sage-sky { background: linear-gradient(135deg, #7d8d86 0%, #94a49c 45%, #c2cfc7 100%); }
.dome { border-radius: 999px 999px 0 0; }
.cloth { animation: sway 11s ease-in-out infinite alternate; transform-origin: 20% 100%; }
@keyframes sway { from { transform: rotate(-1.2deg) scaleY(1); } to { transform: rotate(1.4deg) scaleY(1.03); } }
.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) { .cloth { animation: none; } .half-link::after { transition: none; } }
</style>
</head>
<body class="bg-linen font-sans font-light text-ink antialiased">
<!-- block:start gallery -->
<section id="room" class="bg-linen-light px-5 py-20 md:px-12 md:py-32">
<div class="mx-auto max-w-[1300px]" data-switcher>
<div class="text-center" data-reveal><p class="font-display text-sm tracking-[.3em]">4 — 5</p><p class="label mt-2">The room</p></div>
<div class="mt-14 grid gap-10 md:mt-20 md:grid-cols-[1.25fr_.75fr] md:gap-16">
<div data-reveal>
<figure data-switch-panel="0" >
<img src="https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?auto=format&fit=crop&w=1400&q=80" alt="Tables laid with folded napkins beside tall windows" class="aspect-[4/3] w-full object-cover md:aspect-[16/11]">
<figcaption class="mt-6 flex flex-col gap-2 md:flex-row md:items-baseline md:gap-8">
<span class="font-display text-2xl md:text-3xl">The window tables</span>
<span class="max-w-md text-ink-soft">Six tables for two along the mill race, the first to catch the evening light.</span>
</figcaption>
</figure>
<figure data-switch-panel="1" hidden>
<img src="https://images.unsplash.com/photo-1424847651672-bf20a4b0982b?auto=format&fit=crop&w=1400&q=80" alt="A round table seen from above, crowded with plates and reaching hands" class="aspect-[4/3] w-full object-cover md:aspect-[16/11]">
<figcaption class="mt-6 flex flex-col gap-2 md:flex-row md:items-baseline md:gap-8">
<span class="font-display text-2xl md:text-3xl">The long table</span>
<span class="max-w-md text-ink-soft">One oak table for ten, booked whole for birthdays or shared with strangers on Sundays.</span>
</figcaption>
</figure>
<figure data-switch-panel="2" hidden>
<img src="https://images.unsplash.com/photo-1577219491135-ce391730fb2c?auto=format&fit=crop&w=1400&q=80" alt="A cook plating a dish under copper lamps" class="aspect-[4/3] w-full object-cover md:aspect-[16/11]">
<figcaption class="mt-6 flex flex-col gap-2 md:flex-row md:items-baseline md:gap-8">
<span class="font-display text-2xl md:text-3xl">The pass</span>
<span class="max-w-md text-ink-soft">Four stools at the kitchen counter, close enough to ask what is in the pan.</span>
</figcaption>
</figure>
<figure data-switch-panel="3" hidden>
<img src="https://images.unsplash.com/photo-1510812431401-41d2bd2722f3?auto=format&fit=crop&w=1400&q=80" alt="Glasses of red wine raised in a toast" class="aspect-[4/3] w-full object-cover md:aspect-[16/11]">
<figcaption class="mt-6 flex flex-col gap-2 md:flex-row md:items-baseline md:gap-8">
<span class="font-display text-2xl md:text-3xl">The cellar door</span>
<span class="max-w-md text-ink-soft">Forty bottles, most from growers we have met, poured by the glass if you ask.</span>
</figcaption>
</figure>
</div>
<div class="flex flex-col justify-between gap-8" data-reveal style="--reveal-delay: 120ms">
<h2 class="font-display text-3xl leading-tight md:text-4xl">A tannery once. Stone floors, one big fire, twenty-six chairs.</h2>
<div role="tablist" aria-label="Choose a corner of the room" class="grid grid-cols-4 gap-3 md:grid-cols-2">
<button type="button" role="tab" data-switch="0" aria-selected="true" aria-label="The window tables" class="group relative block overflow-hidden opacity-60 transition hover:opacity-100 aria-selected:opacity-100">
<img src="https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?auto=format&fit=crop&w=400&q=80" alt="" class="dome aspect-[3/4] w-full object-cover">
<span class="mt-2 hidden text-left text-sm md:block">The window tables</span>
</button>
<button type="button" role="tab" data-switch="1" aria-selected="false" aria-label="The long table" class="group relative block overflow-hidden opacity-60 transition hover:opacity-100 aria-selected:opacity-100">
<img src="https://images.unsplash.com/photo-1424847651672-bf20a4b0982b?auto=format&fit=crop&w=400&q=80" alt="" class="dome aspect-[3/4] w-full object-cover">
<span class="mt-2 hidden text-left text-sm md:block">The long table</span>
</button>
<button type="button" role="tab" data-switch="2" aria-selected="false" aria-label="The pass" class="group relative block overflow-hidden opacity-60 transition hover:opacity-100 aria-selected:opacity-100">
<img src="https://images.unsplash.com/photo-1577219491135-ce391730fb2c?auto=format&fit=crop&w=400&q=80" alt="" class="dome aspect-[3/4] w-full object-cover">
<span class="mt-2 hidden text-left text-sm md:block">The pass</span>
</button>
<button type="button" role="tab" data-switch="3" aria-selected="false" aria-label="The cellar door" class="group relative block overflow-hidden opacity-60 transition hover:opacity-100 aria-selected:opacity-100">
<img src="https://images.unsplash.com/photo-1510812431401-41d2bd2722f3?auto=format&fit=crop&w=400&q=80" alt="" class="dome aspect-[3/4] w-full object-cover">
<span class="mt-2 hidden text-left text-sm md:block">The cellar door</span>
</button>
</div>
</div>
</div>
</div>
</section>
<!-- block:end gallery -->
<script>
(() => {
const menu = document.getElementById("site-menu");
const toggle = document.querySelector("[data-menu-toggle]");
if (!menu || !toggle) return;
const setOpen = (open) => {
toggle.setAttribute("aria-expanded", String(open));
menu.classList.toggle("hidden", !open);
document.body.style.overflow = open ? "hidden" : "";
if (open) menu.querySelector("[data-menu-close]")?.focus(); else toggle.focus();
};
toggle.addEventListener("click", () => setOpen(toggle.getAttribute("aria-expanded") !== "true"));
menu.querySelector("[data-menu-close]")?.addEventListener("click", () => setOpen(false));
document.addEventListener("keydown", (event) => { if (event.key === "Escape" && toggle.getAttribute("aria-expanded") === "true") setOpen(false); });
})();
document.querySelectorAll("[data-switcher]").forEach((root) => {
root.addEventListener("click", (event) => {
const button = event.target.closest("[data-switch]");
if (!button) return;
root.querySelectorAll("[data-switch]").forEach((b) => b.setAttribute("aria-selected", String(b === button)));
root.querySelectorAll("[data-switch-panel]").forEach((panel) => { panel.hidden = panel.dataset.switchPanel !== button.dataset.switch; });
});
});
document.querySelectorAll("[data-courses]").forEach((root) => {
const tabs = [...root.querySelectorAll("[data-course]")];
const toggle = root.querySelector("[data-pairing-toggle]");
let current = 0;
const show = (index) => {
current = (index + tabs.length) % tabs.length;
root.querySelectorAll("[data-course-panel]").forEach((panel) => { panel.hidden = Number(panel.dataset.coursePanel) !== current; });
tabs.forEach((tab, i) => {
tab.setAttribute("aria-selected", String(i === current));
tab.classList.toggle("border-ink", i === current);
tab.classList.toggle("border-ink/40", i !== current);
});
root.querySelector("[data-course-number]").textContent = current + 1;
};
tabs.forEach((tab, i) => tab.addEventListener("click", () => show(i)));
root.querySelector("[data-course-prev]")?.addEventListener("click", () => show(current - 1));
root.querySelector("[data-course-next]")?.addEventListener("click", () => show(current + 1));
toggle?.addEventListener("click", () => {
const paired = toggle.getAttribute("aria-checked") !== "true";
toggle.setAttribute("aria-checked", String(paired));
root.querySelectorAll("[data-pairing-line]").forEach((line) => { line.hidden = !paired; });
root.querySelector("[data-course-total]").textContent = Number(root.dataset.menuPrice) + (paired ? Number(root.dataset.pairingPrice) : 0);
});
});
document.querySelectorAll("[data-hours]").forEach((list) => {
const today = list.querySelector(`[data-day="${new Date().getDay()}"]`);
if (!today) return;
today.classList.add("font-normal");
today.querySelector("span")?.insertAdjacentHTML("beforeend", ' <span class="label ml-3 align-middle text-clay">Today</span>');
});
(() => {
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
Food & Restaurant
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.
Tailwind CSS · HTML download