Skip to content

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.

Live preview

Open in new tab

Code

An editorial e-commerce homepage for a fashion store, built with Bootstrap 6 for a fictional label called Maison Vale, with category tiles, filterable new arrivals, a working shopping bag, a sale countdown, reviews and a newsletter signup.

How it works

The page lives in .mv-page, which pins data-bs-theme="light" and maps the Bootstrap 6 primary role (--bs-primary-bg, --bs-primary-contrast and friends) to the brand clay. Dark buttons use the built-in theme-inverse role.

  • Announcement bar and navbar: navbar lg:navbar-expand laid out as a three-column grid: links on the left, the centered .mv-brand logo, and icon actions on the right. Below 1024px the links move into a <dialog class="drawer drawer-start">. "Women" opens a .menu with menu-header groups.
  • Hero and categories: a serif headline, a two-photo lookbook (.mv-look) and four category tiles.
  • New arrivals: .chip buttons with data-mv-filter hide or show cards by their data-mv-cat and announce the count in a live region. Heart buttons use data-bs-toggle="button", and each .mv-add button adds the product to the bag and shows #mv-toast.
  • Shopping bag: #mv-bag is a <dialog class="drawer drawer-end">. The script builds the list from the data-mv-name, data-mv-price and data-mv-img attributes, with quantity buttons, remove links, the subtotal, the badge count and a free-shipping progress bar.
  • Search: #mv-search is a <dialog class="dialog dialog-lg"> with a form-adorn field; typing or clicking a popular chip lists matching products.
  • Sale banner: the countdown always runs to the coming Sunday at 23:59 local time, so it never shows a stale date. The code button copies KNIT10, with a fallback message when the clipboard is blocked.
  • Reviews and newsletter: review cards, then <form data-bs-validate novalidate> with a simulated submit.

Customization

  • Change --mv-clay, --mv-ink and --mv-bone on .mv-page in style.css to rebrand; update the --bs-primary-* overrides next to them.
  • Change FREE_SHIPPING at the top of script.js to move the free-shipping threshold.
  • Edit the starting bag Map in script.js to start empty or with other products.
  • Add products by copying a .mv-product card and setting data-mv-id, data-mv-name, data-mv-price and data-mv-cat.
  • Replace the saleEnd() function with your real sale end date.
  • Replace the setTimeout in the newsletter handler with fetch() to your email provider.
  • The photos come from Unsplash; replace them with your own product and campaign photos.

Accessibility

A skip link jumps to #mv-main. Filter chips use aria-pressed, the bag button label includes the item count, quantity controls have labels, focus stays in the bag after changes, and toasts use role="status". The countdown is a role="timer", star ratings have text labels, and hover-only effects stop under prefers-reduced-motion.

Bootstrap 6 notes

Built on Bootstrap 6.0.0-alpha.1 (alpha APIs can still change). BS5 developers will notice: btn-solid theme-inverse and btn-outline replace btn-dark, the navbar and cart use Drawer instead of navbar-collapse and Offcanvas, Dropdown is now Menu, Modal is now Dialog, the badges use badge theme-inverse, and validation uses data-bs-validate.

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=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;1,6..96,400&family=Jost:wght@300;400;500;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.

E-commerce Fashion Store Homepage Template – Bootstrap 6 home pages component screenshot
E-commerce Fashion Store 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.

Bakery Homepage Template – Bootstrap 6 home pages preview

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.

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.

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.