Skip to content

Car Dealership Homepage Template

Bootstrap 6 car dealership homepage with inventory search, filterable vehicle cards, a loan payment calculator, pre-approval dialog, reviews and test drive booking.

Live preview

Open in new tab

Code

A complete Bootstrap 6 car dealership homepage for a fictional dealer, Halden Motors, with inventory search, filterable vehicle cards, a payment calculator, a pre-approval dialog, reviews and test drive booking.

How it works

Everything sits inside .hm-page (data-bs-theme="light"), which maps the Bootstrap 6 primary role (--bs-primary-bg, --bs-control-checked-bg and friends) to the brand orange.

  • Navbar: a dark navbar lg:navbar-expand with a <dialog class="drawer drawer-end"> for mobile. "Inventory" opens a .menu whose items (data-hm-jump) pre-filter the car grid. The script syncs aria-expanded and closes the drawer after a link.
  • Hero and search: a showroom photo, headline and offer badge. The overlapping .hm-search panel has btn-check condition pills, a searchable Combobox for the make, a body type select and a Range for max price; submitting filters the inventory.
  • Inventory: six .hm-car cards with data-hm-body, data-hm-make, data-hm-cond, data-hm-price and data-hm-miles. .chip buttons filter by body type and .hm-sort re-orders the cards.
  • Financing: two Range sliders, term radios and a credit select feed an amortization formula. "Get pre-approved" opens #hm-approve, a <dialog class="dialog"> with a validated form.
  • Why us, reviews and FAQ: a feature grid, a dark review band and an exclusive <details name="hm-faq"> accordion.
  • Test drive: <form data-bs-validate novalidate> with an input Datepicker; the script sets data-bs-date-min to tomorrow and data-bs-date-max six weeks ahead. A static SVG map shows the location.

Customization

  • Change --hm-orange, --hm-ink and --hm-paper on .hm-page in style.css to rebrand. Update the --bs-primary-* lines next to them as well.
  • Add vehicles by copying an .hm-car article and setting its data-hm-* attributes. The chips, search and sort pick it up automatically.
  • Edit the <option value> APR rates in #hm-credit to match your lenders.
  • Replace the setTimeout in the .hm-form and .hm-approve-form submit handlers with fetch() calls to your CRM or lead endpoint.
  • Change the + 42 day offset in script.js to widen the booking window.
  • Remove sections such as .hm-reviews or .hm-faq-wrap, together with their navbar links, for a shorter page.

The car and portrait photos come from Unsplash. Replace them with photos of your own stock and customers.

Accessibility

A skip link jumps to #hm-main. Chips use aria-pressed, the result count and payment are aria-live regions, the map is a labelled role="img", and invalid fields get .is-invalid and focus. Focus outlines are orange; hover lifts stop under prefers-reduced-motion.

Bootstrap 6 notes

This page is built on Bootstrap 6.0.0-alpha.1, and alpha APIs can still change. Coming from Bootstrap 5:

  • btn-solid theme-primary replaces btn-primary.
  • The navbar uses Drawer instead of navbar-collapse, and Dropdown is now Menu.
  • Modal is now a native Dialog, and form-select is gone (use form-control on the select).
  • Combobox, Datepicker, Range and Chips are new components.
  • Validation uses data-bs-validate.
  • The Combobox may log a harmless "more than one instance" warning in alpha.1.

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=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&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.

Car Dealership Homepage Template – Bootstrap 6 home pages component screenshot
Car Dealership 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.

Cleaning Service Homepage Template – Bootstrap 6 home pages preview

Cleaning Service Homepage Template

Fresh mint Bootstrap 6 cleaning service homepage with a quick price check hero, package prices by frequency, room checklist tabs, live booking estimate, reviews and FAQ.

Auto Repair Shop Homepage Template – Bootstrap 6 home pages preview

Auto Repair Shop Homepage Template

Bootstrap 6 auto repair shop homepage with service price tabs, a step-by-step booking form with live estimate and calendar, repair tracker, reviews carousel and FAQ.

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.

Architecture Studio Homepage Template – Bootstrap 6 home pages preview

Architecture Studio Homepage Template

Bootstrap 6 architecture studio homepage with a drawer navbar, filterable project grid with detail dialog, philosophy, process stepper, client quotes, awards and an enquiry form.