Free
Products
NutriBite Products
A products block extracted from the NutriBite template, available in Tailwind CSS, Bootstrap, DaisyUI, and Material Design.
0
18
A products block extracted from the NutriBite template, available in Tailwind CSS, Bootstrap, DaisyUI, and Material Design.
<!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>NutriBite Products | Tailwind CSS UI Block</title>
<meta
name="description"
content="A products block extracted from the NutriBite template, available in Tailwind CSS, Bootstrap, DaisyUI, and Material Design."
/>
<meta
name="keywords"
content="healthy meal delivery template, meal subscription landing page, organic food website template, nutrition brand design, wellness food service"
/>
<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="NutriBite | Tailwind CSS Healthy Meal Delivery Template">
<meta property="og:description" content="A responsive meal delivery landing page template for healthy food subscriptions, organic meal prep services, nutrition brands, and wellness-focused food businesses.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="NutriBite template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="NutriBite | Tailwind CSS Healthy Meal Delivery Template">
<meta name="twitter:description" content="A responsive meal delivery landing page template for healthy food subscriptions, organic meal prep services, nutrition brands, and wellness-focused food businesses.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="NutriBite template preview">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
sage: "#6b7a52",
"sage-dark": "#4a5638",
cream: "#f4eddc",
"cream-dark": "#e8dfc8",
"nb-dark": "#1a1a18",
},
},
},
};
</script>
<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=Fraunces:wght@400;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
/>
<style>
body {
font-family: "Plus Jakarta Sans", sans-serif;
scroll-behavior: smooth;
background-color: #f4eddc;
color: #1a1a18;
}
.font-display {
font-family: "Fraunces", serif;
}
.meal-tab-active {
color: #6b7a52;
border-bottom: 2px solid #6b7a52;
font-weight: 700;
}
.meal-tab:not(.meal-tab-active) {
border-bottom: 2px solid transparent;
}
</style>
</head>
<body class="antialiased">
<!-- block:start products -->
<section id="menu" class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-6">
<!-- Filter tabs -->
<div class="flex items-center justify-between border-b border-gray-100 mb-10 overflow-x-auto">
<div class="flex items-center flex-shrink-0">
<button class="meal-tab px-5 py-3 text-sm text-gray-400 hover:text-sage whitespace-nowrap transition-colors" data-tab="high-protein">
High Proteins <sup class="text-[10px]">31</sup>
</button>
<button class="meal-tab meal-tab-active px-5 py-3 text-sm whitespace-nowrap" data-tab="weight-loss">
Weight Loss <sup class="text-[10px]">20</sup>
</button>
<button class="meal-tab px-5 py-3 text-sm text-gray-400 hover:text-sage whitespace-nowrap transition-colors" data-tab="vegan">
Vegan <sup class="text-[10px]">11</sup>
</button>
<button class="meal-tab px-5 py-3 text-sm text-gray-400 hover:text-sage whitespace-nowrap transition-colors" data-tab="balanced">
Balanced Meals <sup class="text-[10px]">32</sup>
</button>
</div>
<button class="flex items-center gap-2 px-4 py-2 rounded-full border border-gray-200 text-sm font-semibold text-gray-600 hover:border-sage hover:text-sage transition-all flex-shrink-0 ml-4">
<i class="fa-solid fa-sliders text-xs"></i> Filter
</button>
</div>
<!-- Meal cards -->
<%
meals = [
{
tag: "Best Seller", tag_bg: "bg-sage", tag_text: "text-white",
name: "Grilled Salmon Salad", kcal: "420 Kcal", protein: "32g Protein", price: "$5.20",
img: "https://images.unsplash.com/photo-1467003909585-2f8a72700288?w=400&q=80",
alt: "Grilled salmon salad with mixed greens and dressing"
},
{
tag: "Deal Seller", tag_bg: "bg-amber-400", tag_text: "text-white",
name: "Lean Chicken Avocado Plate", kcal: "380 Kcal", protein: "35g Protein", price: "$5.80",
img: "https://images.unsplash.com/photo-1512621776951-a57141f2eefd?w=400&q=80",
alt: "Lean chicken breast with sliced avocado and salad"
},
{
tag: "5 New Dishes", tag_bg: "bg-blue-100", tag_text: "text-blue-700",
name: "Chicken Quinoa Salad", kcal: "400 Kcal", protein: "28g Protein", price: "$5.50",
img: "https://images.unsplash.com/photo-1512058564366-18510be2db19?w=400&q=80",
alt: "Chicken and quinoa salad bowl with colorful vegetables"
},
{
tag: "Chef's Choice", tag_bg: "bg-purple-100", tag_text: "text-purple-700",
name: "Quinoa Chicken Wrap", kcal: "440 Kcal", protein: "30g Protein", price: "$5.40",
img: "https://images.unsplash.com/photo-1547592180-85f173990554?w=400&q=80",
alt: "Fresh quinoa chicken wrap with herbs"
},
]
%>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<% meals.each do |meal| %>
<article class="bg-[#f9f8f5] rounded-2xl overflow-hidden group hover:shadow-lg transition-all duration-300">
<div class="relative">
<img
src="<%= meal[:img] %>"
alt="<%= meal[:alt] %>"
class="w-full h-44 object-cover"
/>
<span class="absolute top-3 left-3 text-[10px] font-bold px-2.5 py-1 rounded-full <%= meal[:tag_bg] %> <%= meal[:tag_text] %>">
<%= meal[:tag] %>
</span>
</div>
<div class="p-4">
<h3 class="font-bold text-sm text-nb-dark mb-1.5 leading-snug"><%= meal[:name] %></h3>
<p class="text-[11px] text-gray-400 mb-3"><%= meal[:kcal] %> · <%= meal[:protein] %></p>
<div class="flex items-center justify-between">
<span class="font-bold text-base text-nb-dark"><%= meal[:price] %></span>
<button
class="w-8 h-8 rounded-full bg-sage text-white flex items-center justify-center hover:bg-sage-dark transition-colors"
aria-label="Add <%= meal[:name] %> to cart"
>
<i class="fa-solid fa-plus text-xs"></i>
</button>
</div>
</div>
</article>
<% end %>
</div>
<div class="text-center mt-10">
<a
href="#"
class="inline-flex items-center gap-2 px-8 py-3 rounded-full border-2 border-sage text-sage font-bold text-sm hover:bg-sage hover:text-white transition-all"
>
View All
</a>
</div>
</div>
</section>
<!-- block:end products -->
<script>
document.querySelectorAll(".meal-tab").forEach(function (tab) {
tab.addEventListener("click", function () {
document.querySelectorAll(".meal-tab").forEach(function (t) {
t.classList.remove("meal-tab-active");
t.classList.add("text-gray-400");
});
this.classList.add("meal-tab-active");
this.classList.remove("text-gray-400");
});
});
const testimonials = [
{
quote: "I never thought healthy eating could be this easy. The portions are perfect, the flavors are great, and I've lost 4 kg in just six weeks without feeling hungry or deprived.",
author: "Sarah Milero",
location: "Sydney",
before: "https://images.unsplash.com/photo-1524594081293-190a2fe0baae?w=400&q=80",
after: "https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=400&q=80",
beforeAlt: "Sarah before starting the NutriBite Weight Loss Plan",
afterAlt: "Sarah after six weeks on the NutriBite Weight Loss Plan",
},
{
quote: "Within two weeks I felt lighter and more energized. The Fight Bloat meals are satisfying, thoughtfully seasoned, and easy to fit into my busiest workdays.",
author: "Maya Chen",
location: "Melbourne",
before: "https://images.unsplash.com/photo-1517836357463-d25dfeac3438?w=400&q=80",
after: "https://images.unsplash.com/photo-1538805060514-97d9cc17730c?w=400&q=80",
beforeAlt: "Maya before starting the NutriBite Fight Bloat Plan",
afterAlt: "Maya feeling energized after the NutriBite Fight Bloat Plan",
},
{
quote: "The Vegan Plan proved that plant-based food can be convenient and genuinely exciting. Every delivery feels fresh, colorful, and completely different from the last.",
author: "Avery Williams",
location: "Brisbane",
before: "https://images.unsplash.com/photo-1518611012118-696072aa579a?w=400&q=80",
after: "https://images.unsplash.com/photo-1518310383802-640c2de311b2?w=400&q=80",
beforeAlt: "Avery before switching to the NutriBite Vegan Plan",
afterAlt: "Avery thriving on the NutriBite Vegan Plan",
},
{
quote: "NutriBite takes the guesswork out of eating well. The Balanced Meal Plan keeps my energy steady, and dinner is one less thing I need to plan every day.",
author: "Daniel Brooks",
location: "Perth",
before: "https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?w=400&q=80",
after: "https://images.unsplash.com/photo-1581009146145-b5ef050c2e1e?w=400&q=80",
beforeAlt: "Daniel before starting the NutriBite Balanced Meal Plan",
afterAlt: "Daniel after following the NutriBite Balanced Meal Plan",
},
];
let activeTestimonial = 0;
const testimonialQuote = document.getElementById("testimonial-quote");
const testimonialAuthor = document.getElementById("testimonial-author");
const testimonialLocation = document.getElementById("testimonial-location");
const testimonialBeforeImage = document.getElementById("testimonial-before-image");
const testimonialAfterImage = document.getElementById("testimonial-after-image");
const testimonialPlans = document.querySelectorAll(".testimonial-plan");
const testimonialAvatars = document.querySelectorAll(".testimonial-avatar");
function showTestimonial(index) {
activeTestimonial = (index + testimonials.length) % testimonials.length;
const testimonial = testimonials[activeTestimonial];
testimonialQuote.textContent = `“${testimonial.quote}”`;
testimonialAuthor.textContent = testimonial.author;
testimonialLocation.textContent = testimonial.location;
testimonialBeforeImage.src = testimonial.before;
testimonialBeforeImage.alt = testimonial.beforeAlt;
testimonialAfterImage.src = testimonial.after;
testimonialAfterImage.alt = testimonial.afterAlt;
testimonialPlans.forEach(function (plan, planIndex) {
const isActive = planIndex === activeTestimonial;
plan.setAttribute("aria-selected", String(isActive));
plan.classList.toggle("bg-sage", isActive);
plan.classList.toggle("text-white", isActive);
plan.classList.toggle("bg-white", !isActive);
plan.classList.toggle("text-gray-500", !isActive);
});
testimonialAvatars.forEach(function (avatar, avatarIndex) {
const isActive = avatarIndex === activeTestimonial % testimonialAvatars.length;
avatar.classList.toggle("opacity-60", !isActive);
avatar.classList.toggle("ring-2", isActive);
avatar.classList.toggle("ring-sage", isActive);
avatar.classList.toggle("ring-offset-2", isActive);
avatar.classList.toggle("ring-offset-cream", isActive);
});
}
document.getElementById("testimonial-prev").addEventListener("click", function () {
showTestimonial(activeTestimonial - 1);
});
document.getElementById("testimonial-next").addEventListener("click", function () {
showTestimonial(activeTestimonial + 1);
});
testimonialPlans.forEach(function (plan) {
plan.addEventListener("click", function () {
showTestimonial(Number(this.dataset.testimonialIndex));
});
});
</script>
</body>
</html>
Free
Business
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.