Skip to content

Bakery Homepage Template

Warm Bootstrap 6 bakery homepage template with an arched photo hero, tabbed product menu with tray, story stepper, cake order form with datepicker, reviews and a Bread Club dialog.

Live preview

Open in new tab

Code

A warm Bootstrap 6 homepage template for a neighbourhood bakery, Rosemary & Rye, with a tabbed product menu, story, cake order form, reviews and a Bread Club sign-up.

How it works

Everything sits inside .rr-page, which carries data-bs-theme="light" and maps the Bootstrap 6 primary role (--bs-primary-bg and friends) to raspberry. Fonts: Gloock, Outfit and Caveat for .rr-script labels.

  • Navbar: navbar lg:navbar-expand with a <dialog class="drawer drawer-start"> for the mobile menu. "Menu" opens a .menu; the tray button shows a badge (data-rr-count). The script syncs aria-expanded and closes the drawer after a link.
  • Hero: an opening-hours pill (.rr-open) set from the visitor's clock, the arched photo .rr-arch, the rotating SVG stamp .rr-stamp and the .rr-special card.
  • Today on our shelves: nav nav-pills tabs switch three .tab-pane panels of product cards (.rr-item). Each .rr-add button adds its data-rr-item to the tray, updates the badges and summary, and shows #rr-toast.
  • Story: a photo collage plus a stepper sm:stepper-horizontal inside .contains-inline that shows a day at the bakehouse.
  • Cake order: <form data-bs-validate novalidate> with a native select, a Combobox for the pickup bakery, btn-check radio labels for the size, a Datepicker and a message field with a live character count. Size radios update the total from data-rr-price. The earliest pickup is computed as two days from today, so the calendar never goes stale. Submit validates, shows a spinner, simulates the request and confirms with a toast.
  • Reviews and CTA: quote cards and a band whose button opens #rr-club, a <dialog class="dialog"> with radio plans.

Customization

  • Change --rr-berry, --rr-cocoa and --rr-butter on .rr-page in style.css to rebrand; adjust the --bs-primary-* overrides next to them so buttons follow.
  • Set OPEN_HOUR and CLOSE_HOUR at the top of script.js to your real opening hours.
  • Edit data-rr-price on each size radio to change cake prices.
  • Change addDays(today, 2) in the Datepicker options to require more or less notice.
  • Replace the setTimeout in the order submit handler with fetch() to your order endpoint.
  • Remove a whole <section> (for example .rr-story) and its navbar link for a shorter page.
  • The photos come from Unsplash; replace them with photos of your own bakes.

Accessibility

A skip link jumps to #rr-main. Tabs use role="tab" with aria-selected, every add button has a descriptive aria-label, and the tray summary is an aria-live region. Form fields have labels, invalid fields get .is-invalid and focus, and the toast uses role="status". The stamp and ribbon animations stop under prefers-reduced-motion.

Bootstrap 6 notes

Built on Bootstrap 6.0.0-alpha.1 (alpha APIs can still change). Bootstrap 5 developers will recognise the replacements: btn-solid theme-primary instead of btn-primary, a Drawer navbar instead of navbar-collapse, Menu instead of Dropdown, Dialog instead of Modal, form-control on <select> instead of form-select, and data-bs-validate instead of needs-validation. New components used: Combobox, Datepicker and Stepper. The script imports Datepicker, Dialog, Drawer and Toast from the bundle as an ES module. The Combobox selection stays after the form resets.

Requirements

Add these to your page (already included in the download):

  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@6.0.0-alpha.1/dist/css/bootstrap.min.css">
  • <script type="module" src="https://cdn.jsdelivr.net/npm/bootstrap@6.0.0-alpha.1/dist/js/bootstrap.bundle.min.js"></script>
  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
  • <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Gloock&family=Outfit:wght@300;400;500;600&family=Caveat:wght@600&display=swap">

Built for Bootstrap 6.0.0-alpha.1. Bootstrap 6 ships as an ES module, so its script and this component's JavaScript load with type="module". Alpha releases can still change before the stable version.

Bakery Homepage Template – Bootstrap 6 home pages component screenshot
Bakery Homepage Template · Bootstrap 6 Home Pages

More Home Pages

Fitness Gym Homepage Template – Bootstrap 6 home pages preview

Fitness Gym Homepage Template

Dark Bootstrap 6 gym homepage with drawer navbar, photo hero, programs, a weekly class timetable, membership plans with a range-based recommender, coaches and a free-pass form.

Travel Agency Homepage Template – Bootstrap 6 home pages preview

Travel Agency Homepage Template

Bootstrap 6 travel agency homepage template with a photo hero and trip search, region-filtered destinations, tour packages with a budget slider, itinerary dialog, stories carousel and newsletter.

Furniture Store Homepage Template – Bootstrap 6 home pages preview

Furniture Store Homepage Template

Warm Bootstrap 6 furniture shop homepage with a shop-the-look hero, room collections, bestseller tabs with fabric swatches, showroom booking with datepicker, reviews carousel and FAQ.

Electronics Store Homepage Template – Bootstrap 6 home pages preview

Electronics Store Homepage Template

Dark Bootstrap 6 electronics shop homepage with a bento deals hero, live flash-sale countdown, filterable product grid, cart drawer, trade-in estimator, reviews and newsletter.

E-commerce Fashion Store Homepage Template – Bootstrap 6 home pages preview

E-commerce Fashion Store Homepage Template

Editorial Bootstrap 6 fashion store homepage with a centered-logo navbar, lookbook hero, category tiles, filterable new arrivals, cart drawer, sale countdown, reviews and newsletter signup.

Kindergarten Homepage Template – Bootstrap 6 home pages preview

Kindergarten Homepage Template

Playful Bootstrap 6 kindergarten homepage with a drawer navbar, photo collage hero, program tabs, daily rhythm stepper, teacher cards, parent reviews and a visit booking form.