NutriBite Hero Hero Block - Let's templates
Unlock every premium block and template with All-Access from €20 / 3 months, cancel anytime. Get All-Access
All blocks
Free Hero

NutriBite Hero

A hero block extracted from the NutriBite template, available in Tailwind CSS, Bootstrap, DaisyUI, and Material Design.

0 25
NutriBite Hero preview
nutribite.html
<!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 Hero | Tailwind CSS UI Block</title>
    <meta
      name="description"
      content="A hero 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 hero -->
      <section id="hero" class="relative overflow-hidden">
        <!-- Background food image -->
        <div class="absolute inset-0 z-0">
          <img
            src="https://images.unsplash.com/photo-1498837167922-ddd27525d352?w=1920&q=80"
            alt="Colorful fresh ingredients arranged on a table with herbs and vegetables"
            class="w-full h-full object-cover"
          />
          <div class="absolute inset-0 bg-gradient-to-r from-nb-dark/70 via-nb-dark/35 to-transparent"></div>
        </div>

        <!-- Hero content -->
        <div class="relative z-10 max-w-7xl mx-auto px-6 pt-20 pb-8 md:pt-28 md:pb-10">
          <div class="grid grid-cols-1 md:grid-cols-2 gap-10 items-start">

            <!-- Left: pitch -->
            <div class="text-white">
              <span class="inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-white/15 backdrop-blur-sm border border-white/20 text-xs font-bold uppercase tracking-widest mb-6">
                <i class="fa-solid fa-seedling text-green-300"></i>
                Mindful Eating
              </span>
              <h1 class="font-display text-3xl md:text-5xl font-bold leading-tight mb-4">
                Healthy Food,<br/>
                Magically Prepared<br/>
                With Real Ingredients<br/>
                and Balanced Nutrition
              </h1>
              <p class="text-white/70 text-sm leading-relaxed max-w-sm mb-8">
                Made to support your body, your family, and your long-range peace of mind.
              </p>
              <a
                href="#menu"
                class="inline-block bg-white text-nb-dark px-8 py-3 rounded-full font-bold text-sm hover:bg-cream transition-colors shadow-lg"
              >
                Order Now
              </a>
            </div>

            <!-- Right: floating meal card -->
            <div class="flex justify-end items-start pt-4">
              <div class="bg-white rounded-2xl shadow-2xl overflow-hidden w-52">
                <div class="relative">
                  <img
                    src="https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=400&q=80"
                    alt="Poached egg quinoa bowl with greens and vegetables"
                    class="w-full h-36 object-cover"
                  />
                  <span class="absolute top-2 right-2 bg-sage text-white text-[10px] font-bold px-2 py-0.5 rounded-full">New</span>
                </div>
                <div class="p-3">
                  <h3 class="font-bold text-xs text-nb-dark mb-2 leading-snug">Poached Egg Quinoa Bowl</h3>
                  <div class="flex items-center justify-between">
                    <span class="font-bold text-sm text-nb-dark">$7.20</span>
                    <button
                      class="w-6 h-6 rounded-full bg-sage text-white flex items-center justify-center hover:bg-sage-dark transition-colors"
                      aria-label="Add Poached Egg Quinoa Bowl to cart"
                    >
                      <i class="fa-solid fa-plus text-[10px]"></i>
                    </button>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>

        <!-- Large "Healthier" display text -->
        <div class="relative z-10 bg-gradient-to-b from-transparent to-cream overflow-hidden px-4 pb-0 pt-6">
          <p
            class="font-display font-black leading-none text-nb-dark/10 select-none pointer-events-none text-[20vw] md:text-[18vw] whitespace-nowrap"
            aria-hidden="true"
          >Healthier</p>
        </div>
      </section>
      <!-- block:end hero -->
<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>

From this template

NutriBite screenshot Free

Business

NutriBite

Unlimited access to all products

Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.

€20 / 3 months or €60 / year
Get Unlimited Access