Unlock every premium block and template with All-Access from $20 / 3 months, cancel anytime. Get All-Access
All blocks
Free Process

Brambleby Process

A process block extracted from the Brambleby template, available in Tailwind CSS.

0 8
Brambleby Process preview

Download Codebase

Commercial License

Free download · up to 5 blocks per day. Unlimited with All-Access

brambleby.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>Brambleby Process | Tailwind CSS UI Block</title>
  <meta name="description" content="A process block extracted from the Brambleby template, available in Tailwind CSS.">
  <meta name="keywords" content="Brambleby, Tailwind CSS template, HTML website template, bakery template, biscuit shop website, cookie shop template, organic bakery, pastry shop, baking workshop booking, 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="Brambleby | Tailwind CSS Food &amp; Restaurant Template">
  <meta property="og:description" content="A warm Tailwind CSS template for organic biscuit bakeries, with a hero slideshow, flavour tabs, a fill-your-tin builder, stockists and workshop booking.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Brambleby template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Brambleby | Tailwind CSS Food &amp; Restaurant Template">
  <meta name="twitter:description" content="A warm Tailwind CSS template for organic biscuit bakeries, with a hero slideshow, flavour tabs, a fill-your-tin builder, stockists and workshop booking.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Brambleby 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=Caveat:wght@500;700&family=Josefin+Sans:wght@400;600;700&family=Karla:ital,wght@0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            apricot: { DEFAULT: '#f5c993', soft: '#f9dcb6', deep: '#eab275' },
            rust: { DEFAULT: '#9c4f2e', deep: '#7a3a1f', soft: '#c47a55' },
            cocoa: { DEFAULT: '#3f2418', soft: '#6e4a3a' },
            blush: '#f8ece7',
            oat: '#f4e6d9',
            biscuit: '#efdcc8'
          },
          fontFamily: { display: ['"Josefin Sans"', 'sans-serif'], sans: ['Karla', 'sans-serif'], script: ['Caveat', 'cursive'] },
          letterSpacing: { label: '0.18em' }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .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; }
    .stamp-ring { animation: spin 28s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .slide { transition: opacity .6s ease; }
    .tin-slot img { transition: transform .3s ease; }
    @media (prefers-reduced-motion: reduce) { .stamp-ring { animation: none; } .slide { transition: none; } }
  </style>
</head>
<body class="bg-oat font-sans text-cocoa antialiased">
<!-- block:start process -->
    <section id="kitchen" class="px-5 py-24 md:px-10">
      <div class="mx-auto max-w-6xl">
        <div class="text-center">
          <p class="font-script text-3xl text-rust">Field to tin</p>
          <h2 class="mt-2 font-display text-4xl font-bold uppercase md:text-5xl">How a Brambleby is made</h2>
        </div>
        <div class="mt-16 space-y-16">
            <div class="grid items-center gap-8 md:grid-cols-2 md:gap-16" data-reveal>
              <img src="https://images.unsplash.com/photo-1586771107445-d3ca888129ff?auto=format&amp;fit=crop&amp;w=1000&amp;q=80" alt="Young wheat rows growing in dark soil" class="aspect-[4/3] w-full rounded-[2rem] object-cover ">
              <div>
                <span class="font-display text-6xl font-bold text-apricot-deep">01</span>
                <h3 class="mt-2 font-display text-2xl font-bold uppercase">We mill close to home</h3>
                <p class="mt-4 max-w-md text-lg text-cocoa-soft">Rye, spelt and soft wheat come from three organic farms within forty kilometres. We stone-grind a little each week so the flour still smells of the field.</p>
              </div>
            </div>
            <div class="grid items-center gap-8 md:grid-cols-2 md:gap-16" data-reveal>
              <img src="https://images.unsplash.com/photo-1517686469429-8bdb88b9f907?auto=format&amp;fit=crop&amp;w=1000&amp;q=80" alt="Hands kneading dough on a floured table" class="aspect-[4/3] w-full rounded-[2rem] object-cover md:order-2">
              <div>
                <span class="font-display text-6xl font-bold text-apricot-deep">02</span>
                <h3 class="mt-2 font-display text-2xl font-bold uppercase">We mix by hand, slowly</h3>
                <p class="mt-4 max-w-md text-lg text-cocoa-soft">Butter is worked in cold, the dough rests overnight and every biscuit is cut by someone who knows its name.</p>
              </div>
            </div>
            <div class="grid items-center gap-8 md:grid-cols-2 md:gap-16" data-reveal>
              <img src="https://images.unsplash.com/photo-1597528662465-55ece5734101?auto=format&amp;fit=crop&amp;w=1000&amp;q=80" alt="Rolling pin, fresh buns and chocolate on baking parchment" class="aspect-[4/3] w-full rounded-[2rem] object-cover ">
              <div>
                <span class="font-display text-6xl font-bold text-apricot-deep">03</span>
                <h3 class="mt-2 font-display text-2xl font-bold uppercase">We bake in small trays</h3>
                <p class="mt-4 max-w-md text-lg text-cocoa-soft">Twelve minutes, one tray at a time, then a full cool on the rack before anything goes near a tin.</p>
              </div>
            </div>
        </div>
      </div>
    </section>
    <!-- block:end process -->
<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);
      });
    });

    (() => {
      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));
    })();

    document.querySelectorAll('[data-slider]').forEach((slider) => {
      const slides = [...slider.querySelectorAll('[data-slide]')];
      const dots = [...slider.querySelectorAll('[data-slide-dot]')];
      let current = 0;
      const show = (index) => {
        current = (index + slides.length) % slides.length;
        slides.forEach((slide, i) => {
          const active = i === current;
          slide.classList.toggle('opacity-0', !active);
          slide.classList.toggle('pointer-events-none', !active);
          slide.setAttribute('aria-hidden', String(!active));
        });
        dots.forEach((dot, i) => {
          dot.setAttribute('aria-current', String(i === current));
          dot.classList.toggle('bg-white', i === current);
          dot.classList.toggle('bg-transparent', i !== current);
        });
      };
      slider.querySelector('[data-slide-prev]')?.addEventListener('click', () => show(current - 1));
      slider.querySelector('[data-slide-next]')?.addEventListener('click', () => show(current + 1));
      dots.forEach((dot, i) => dot.addEventListener('click', () => show(i)));
    });

    document.querySelectorAll('[data-tabs]').forEach((list) => {
      const tabs = [...list.querySelectorAll('[data-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) => {
          if (!['ArrowRight', 'ArrowLeft'].includes(event.key)) return;
          const next = tabs[(index + (event.key === 'ArrowRight' ? 1 : -1) + tabs.length) % tabs.length];
          select(next);
          next.focus();
        });
      });
    });

    document.querySelectorAll('[data-tin]').forEach((root) => {
      const slots = [...root.querySelectorAll('[data-tin-slot]')];
      const options = [...root.querySelectorAll('[data-tin-add]')];
      const note = root.querySelector('[data-tin-note]');
      const order = root.querySelector('[data-tin-order]');
      const tin = [];
      const render = () => {
        slots.forEach((slot, i) => {
          const item = tin[i];
          slot.innerHTML = item ? `<img src="${item.img}" alt="" class="aspect-square w-full rounded-full object-cover">` : '';
          slot.disabled = !item;
          slot.setAttribute('aria-label', item ? `Remove ${item.name}` : 'Empty space');
          slot.classList.toggle('border-dashed', !item);
        });
        const total = 4 + tin.reduce((sum, item) => sum + item.price, 0);
        root.querySelector('[data-tin-count]').textContent = tin.length;
        root.querySelector('[data-tin-total]').textContent = total.toFixed(2);
        note.hidden = tin.length < slots.length;
        order.classList.toggle('opacity-50', !tin.length);
      };
      const add = (button) => {
        if (tin.length >= slots.length) { note.hidden = false; return; }
        tin.push({ name: button.dataset.name, price: Number(button.dataset.price), img: button.dataset.img });
        render();
      };
      options.forEach((button) => button.addEventListener('click', () => add(button)));
      slots.forEach((slot, i) => slot.addEventListener('click', () => { tin.splice(i, 1); render(); }));
      root.querySelector('[data-tin-random]').addEventListener('click', () => {
        tin.length = 0;
        slots.forEach(() => add(options[Math.floor(Math.random() * options.length)]));
      });
      ['rye', 'rye', 'oat', 'honey', 'hazel', 'choc', 'oat'].forEach((key) => add(root.querySelector(`[data-tin-add="${key}"]`)));
    });

    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-success-form]').forEach((form) => {
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        if (!form.reportValidity()) return;
        form.querySelector('[data-success]').hidden = false;
        form.reset();
      });
    });
  </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>

From this template

Brambleby screenshot Premium

Food & Restaurant

Brambleby

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