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.

Also known as: bakery landing page, patisserie website design, cake shop homepage, bakery online ordering page

Bakery Homepage Template live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

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.

Use cases

  • Neighborhood bakeries: tabbed menus show bread, pastries and cakes with an add-to-tray button
  • Custom cake orders: the order form with size prices, datepicker and message field takes pickup requests
  • Cafe and bakery storytelling: a photo collage and story stepper show a day at the bakehouse
  • Subscription clubs: a bread club dialog with plan options signs up regular customers

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.

Bakery Homepage Template at a glance

Framework
Bootstrap 6
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Bootstrap 6, Bootstrap Icons, fonts.googleapis.com
Layout
Responsive, works on mobile
Category
Home Pages
License
Free for personal and commercial use

Questions about this template

Can I use the Bakery Homepage Template code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

Load Bootstrap 6 and Bootstrap Icons and fonts.googleapis.com from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

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

Restaurant Homepage Template – Bootstrap 6 home pages preview

Restaurant Homepage Template

Dark Bootstrap 6 restaurant homepage with a photo hero, live opening status, tabbed menu highlights, chef story, reviews, a datepicker reservation form and footer.

Music Band Homepage Template – Bootstrap 6 home pages preview

Music Band Homepage Template

Dark Bootstrap 6 music band homepage with a photo hero, relative tour dates with a region filter, album tracklists, video dialog, press quotes and a mailing list form.

Event Conference Homepage Template – Bootstrap 6 home pages preview

Event Conference Homepage Template

Dark Bootstrap 6 tech conference homepage template with a live countdown hero, speaker dialogs, two-day schedule tabs with track filters, ticket tiers with a team Range slider and FAQ.

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.

Barbershop Homepage Template – Bootstrap 6 home pages preview

Barbershop Homepage Template

Dark Bootstrap 6 barbershop homepage with a drawer navbar, price-list tabs, barber cards, a booking form with Combobox and Datepicker, reviews, live opening hours and a footer.

Interior Design Homepage Template – Bootstrap 6 home pages preview

Interior Design Homepage Template

Warm Bootstrap 6 interior design homepage with arched photo hero, services, tabbed portfolio, before/after range slider, process accordion, reviews and a consultation form with datepicker.