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.

Also known as: clothing store landing page, online boutique homepage, fashion ecommerce website design, apparel shop homepage

E-commerce Fashion Store Homepage Template live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

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.

Use cases

  • Independent fashion labels: a lookbook hero and category tiles present the new collection
  • Online clothing boutiques: filterable new arrivals and a working shopping bag drawer let shoppers browse and add items
  • Seasonal sales: the sale banner with countdown and promo code button creates urgency
  • Email list growth: a newsletter signup and review section sit below the product grid

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.

E-commerce Fashion Store 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 E-commerce Fashion Store 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=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

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.