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

Brambleby Features

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

0 5
Brambleby Features 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 Features | Tailwind CSS UI Block</title>
  <meta name="description" content="A features 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 features -->
    <section id="welcome" class="grid md:grid-cols-3">
        <div class="bg-blush px-8 py-16 text-center md:px-10" data-reveal style="--reveal-delay: 0ms">
          <span class="mx-auto grid h-24 w-24 place-items-center rounded-full border-2 border-dashed border-rust/60 text-4xl text-rust"><i class="fa-solid fa-envelope-open-text" aria-hidden="true"></i></span>
          <h2 class="mt-8 font-display text-xl font-bold uppercase tracking-wider">Write to us</h2>
          <p class="mx-auto mt-4 max-w-xs text-cocoa-soft">A question about a biscuit, a recipe to swap? Send it in prose, in verse or as a doodle.</p>
          <a href="contact.html" class="mt-6 inline-flex items-center gap-2 font-display text-xs font-semibold uppercase tracking-label text-rust hover:text-cocoa">Say hello <i class="fa-solid fa-arrow-right" aria-hidden="true"></i></a>
        </div>
        <div class="bg-oat px-8 py-16 text-center md:px-10" data-reveal style="--reveal-delay: 120ms">
          <span class="mx-auto grid h-24 w-24 place-items-center rounded-full border-2 border-dashed border-rust/60 text-4xl text-rust"><i class="fa-solid fa-lemon" aria-hidden="true"></i></span>
          <h2 class="mt-8 font-display text-xl font-bold uppercase tracking-wider">What we believe</h2>
          <p class="mx-auto mt-4 max-w-xs text-cocoa-soft">Good flour, honest butter and a fair amount of imagination. Biscuits that taste of where they were grown.</p>
          <a href="about.html" class="mt-6 inline-flex items-center gap-2 font-display text-xs font-semibold uppercase tracking-label text-rust hover:text-cocoa">Our story <i class="fa-solid fa-arrow-right" aria-hidden="true"></i></a>
        </div>
        <div class="bg-biscuit px-8 py-16 text-center md:px-10" data-reveal style="--reveal-delay: 240ms">
          <span class="mx-auto grid h-24 w-24 place-items-center rounded-full border-2 border-dashed border-rust/60 text-4xl text-rust"><i class="fa-solid fa-store" aria-hidden="true"></i></span>
          <h2 class="mt-8 font-display text-xl font-bold uppercase tracking-wider">Where to find us</h2>
          <p class="mx-auto mt-4 max-w-xs text-cocoa-soft">Forty little shops, markets and cafés keep a tin on the counter. Each one comes with a good chat.</p>
          <a href="stockists.html" class="mt-6 inline-flex items-center gap-2 font-display text-xs font-semibold uppercase tracking-label text-rust hover:text-cocoa">See stockists <i class="fa-solid fa-arrow-right" aria-hidden="true"></i></a>
        </div>
    </section>
    <!-- block:end features -->
<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