Snippets Menu

Bootstrap 5 Restaurant Menu with Category Tabs

A restaurant menu with category pills for starters, mains and desserts, showing each dish as a photo card with price and description.

Bootstrap 5 No jQuery Jun 2019 2.9K views

<section class="wdw-stage">
  <div class="container" style="max-width:1040px">
    <div class="text-center mb-4">
      <span class="wdw-eyebrow">Famous for good food</span>
      <h2 class="wdw-heading display-6 mt-1 mb-3">Our Menu</h2>
      <ul class="nav nav-pills justify-content-center gap-2" role="tablist"><li class="nav-item" role="presentation"><button class="nav-link rounded-pill px-4 active" data-bs-toggle="pill" data-bs-target="#m-starters" type="button" role="tab" aria-selected="true">Starters</button></li><li class="nav-item" role="presentation"><button class="nav-link rounded-pill px-4" data-bs-toggle="pill" data-bs-target="#m-mains" type="button" role="tab" aria-selected="false">Mains</button></li><li class="nav-item" role="presentation"><button class="nav-link rounded-pill px-4" data-bs-toggle="pill" data-bs-target="#m-desserts" type="button" role="tab" aria-selected="false">Desserts</button></li></ul>
    </div>
    <div class="tab-content"><div class="tab-pane fade show active" id="m-starters" role="tabpanel" tabindex="0"><div class="row g-3 g-lg-4"><div class="col-md-4"><article class="wdw-card-sm h-100 overflow-hidden menu-item"><img src="https://images.unsplash.com/photo-1546069901-ba9599a7e63c?auto=format&fit=crop&w=600&h=400&q=70" alt="Harvest Salmon Bowl" width="600" height="400" loading="lazy"><div class="p-3 p-lg-4"><div class="d-flex justify-content-between gap-2 align-items-start"><h3 class="h6 fw-bold mb-1">Harvest Salmon Bowl</h3><span class="fw-bold text-primary">$14</span></div><p class="wdw-muted small mb-0">Glazed salmon, quinoa, edamame and shaved red cabbage.</p></div></article></div><div class="col-md-4"><article class="wdw-card-sm h-100 overflow-hidden menu-item"><img src="https://images.unsplash.com/photo-1559847844-5315695dadae?auto=format&fit=crop&w=600&h=400&q=70" alt="Spiced Prawn Rice" width="600" height="400" loading="lazy"><div class="p-3 p-lg-4"><div class="d-flex justify-content-between gap-2 align-items-start"><h3 class="h6 fw-bold mb-1">Spiced Prawn Rice</h3><span class="fw-bold text-primary">$13</span></div><p class="wdw-muted small mb-0">Gulf prawns, jasmine rice, herbs and a slow-cooked tomato sauce.</p></div></article></div><div class="col-md-4"><article class="wdw-card-sm h-100 overflow-hidden menu-item"><img src="https://images.unsplash.com/photo-1512621776951-a57141f2eefd?auto=format&fit=crop&w=600&h=400&q=70" alt="Avocado Garden Bowl" width="600" height="400" loading="lazy"><div class="p-3 p-lg-4"><div class="d-flex justify-content-between gap-2 align-items-start"><h3 class="h6 fw-bold mb-1">Avocado Garden Bowl</h3><span class="fw-bold text-primary">$12</span></div><p class="wdw-muted small mb-0">Chickpeas, radish, sweet potato and a tahini dressing.</p></div></article></div></div></div><div class="tab-pane fade" id="m-mains" role="tabpanel" tabindex="0"><div class="row g-3 g-lg-4"><div class="col-md-4"><article class="wdw-card-sm h-100 overflow-hidden menu-item"><img src="https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?auto=format&fit=crop&w=600&h=400&q=70" alt="Wood-Fired Margherita" width="600" height="400" loading="lazy"><div class="p-3 p-lg-4"><div class="d-flex justify-content-between gap-2 align-items-start"><h3 class="h6 fw-bold mb-1">Wood-Fired Margherita</h3><span class="fw-bold text-primary">$18</span></div><p class="wdw-muted small mb-0">San Marzano tomato, fior di latte and fresh basil.</p></div></article></div><div class="col-md-4"><article class="wdw-card-sm h-100 overflow-hidden menu-item"><img src="https://images.unsplash.com/photo-1551782450-a2132b4ba21d?auto=format&fit=crop&w=600&h=400&q=70" alt="Smash Burger" width="600" height="400" loading="lazy"><div class="p-3 p-lg-4"><div class="d-flex justify-content-between gap-2 align-items-start"><h3 class="h6 fw-bold mb-1">Smash Burger</h3><span class="fw-bold text-primary">$17</span></div><p class="wdw-muted small mb-0">Aged cheddar, house pickles, special sauce, brioche bun.</p></div></article></div><div class="col-md-4"><article class="wdw-card-sm h-100 overflow-hidden menu-item"><img src="https://images.unsplash.com/photo-1490645935967-10de6ba17061?auto=format&fit=crop&w=600&h=400&q=70" alt="Chicken Fried Salad" width="600" height="400" loading="lazy"><div class="p-3 p-lg-4"><div class="d-flex justify-content-between gap-2 align-items-start"><h3 class="h6 fw-bold mb-1">Chicken Fried Salad</h3><span class="fw-bold text-primary">$16</span></div><p class="wdw-muted small mb-0">Crisp chicken, baby gem, avocado and herb ranch.</p></div></article></div></div></div><div class="tab-pane fade" id="m-desserts" role="tabpanel" tabindex="0"><div class="row g-3 g-lg-4"><div class="col-md-4"><article class="wdw-card-sm h-100 overflow-hidden menu-item"><img src="https://images.unsplash.com/photo-1567620905732-2d1ec7ab7445?auto=format&fit=crop&w=600&h=400&q=70" alt="Honey Ricotta Pancakes" width="600" height="400" loading="lazy"><div class="p-3 p-lg-4"><div class="d-flex justify-content-between gap-2 align-items-start"><h3 class="h6 fw-bold mb-1">Honey Ricotta Pancakes</h3><span class="fw-bold text-primary">$11</span></div><p class="wdw-muted small mb-0">Warm stack with berries, honey and toasted almonds.</p></div></article></div><div class="col-md-4"><article class="wdw-card-sm h-100 overflow-hidden menu-item"><img src="https://images.unsplash.com/photo-1551024601-bec78aea704b?auto=format&fit=crop&w=600&h=400&q=70" alt="Dark Chocolate Tart" width="600" height="400" loading="lazy"><div class="p-3 p-lg-4"><div class="d-flex justify-content-between gap-2 align-items-start"><h3 class="h6 fw-bold mb-1">Dark Chocolate Tart</h3><span class="fw-bold text-primary">$10</span></div><p class="wdw-muted small mb-0">Sea salt, espresso cream and cocoa nibs.</p></div></article></div><div class="col-md-4"><article class="wdw-card-sm h-100 overflow-hidden menu-item"><img src="https://images.unsplash.com/photo-1565958011703-44f9829ba187?auto=format&fit=crop&w=600&h=400&q=70" alt="Lemon Olive Oil Cake" width="600" height="400" loading="lazy"><div class="p-3 p-lg-4"><div class="d-flex justify-content-between gap-2 align-items-start"><h3 class="h6 fw-bold mb-1">Lemon Olive Oil Cake</h3><span class="fw-bold text-primary">$9</span></div><p class="wdw-muted small mb-0">Citrus glaze, mascarpone and candied zest.</p></div></article></div></div></div></div>
  </div>
</section>

Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.

Free to use in personal and commercial projects under the MIT license.