Skip to content

Real Estate Homepage Template

Real estate agency homepage template for Bootstrap 6 with property search, filterable listings, neighborhood guides, mortgage calculator, agents, reviews and valuation form.

Also known as: real estate website, property listing homepage, estate agent landing page, realty agency website

Real Estate Homepage Template live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

A real estate agency homepage template built with Bootstrap 6 for a fictional agency called Keyline Estates. It covers a split hero with property search, filterable listings, neighborhood guides, a mortgage calculator, agents, client reviews and a valuation request form.

How it works

The page lives in .kl-page, which pins data-bs-theme="light" and maps the Bootstrap 6 primary role to coral with dark ink text.

  • Navbar: navbar lg:navbar-expand sticky-top with a <dialog class="drawer drawer-end"> on small screens. The "Buy" link opens a .menu with icons and descriptions, and the drawer closes when an in-page link is clicked.
  • Hero search: a btn-check radio group switches between Buy and Rent. The "Location" field is a searchable Combobox (data-bs-search="true"), and Type and Max price are select.form-control fields. Switching modes rebuilds the price options from the JSON in data-kl-sale / data-kl-rent. The floating "Open house" card shows next Saturday's date, worked out in script.js.
  • Listings: each .kl-card has data-kl-mode, data-kl-type, data-kl-area and data-kl-price. The search form, the .chip type filters and the neighborhood tiles all update one filter state. A polite live region reports the count, and an empty state with "Clear filters" appears when nothing matches. Heart buttons use data-bs-toggle="button", and the script swaps the icon and updates the "Saved" badge.
  • How we work: a stepper md:stepper-horizontal inside .contains-inline.
  • Mortgage calculator: three Bootstrap 6 Range sliders (.form-range + .form-range-input) and a term radio group. The calc() function computes the monthly payment.
  • Valuation form: data-bs-validate gives CSS-only validation. On submit the script marks invalid fields with .is-invalid, otherwise it shows a spinner, simulates the request and opens #kl-toast with Toast.getOrCreateInstance().

Customization

  • Change --kl-ink, --kl-coral and --kl-sun on .kl-page in style.css to rebrand, and update the --bs-primary-* overrides next to them.
  • Add a listing by copying a .kl-card. Set its data-kl-* attributes so the filters pick it up.
  • Change the price brackets in the data-kl-sale and data-kl-rent attributes on #kl-max.
  • Set the calculator defaults with the value, min and max attributes on #kl-price, #kl-down and #kl-rate.
  • Replace the setTimeout in the valuation submit handler with fetch() to your CRM or lead endpoint.
  • Change grid-template-rows in .kl-area-grid to resize the neighborhood mosaic, or remove .kl-area-wide for equal tiles.
  • The photos are from Unsplash. Replace them with your own listings and agent portraits.

Use cases

  • Real estate agencies: a split hero with property search starts a home hunt
  • Property listings: filterable listings and neighborhood guides help buyers explore areas
  • Mortgage advice: a mortgage calculator shows estimated payments
  • Seller leads: agent profiles, reviews and a valuation form capture new clients

Accessibility

The page has a skip link, labels on every field, aria-pressed on the chips and save buttons, aria-live on the result count and the payment total, and role="status" on the toast. Card lifts, image zoom and smooth scrolling are turned off under prefers-reduced-motion.

Bootstrap 6 notes

Built on Bootstrap 6.0.0-alpha.1, so the alpha APIs can still change. Coming from Bootstrap 5: navbar-collapse becomes a Drawer, Dropdown is now Menu, form-select is gone, and range inputs need the .form-range wrapper. Combobox, Chips, Range and Stepper are new in Bootstrap 6. In alpha.1 every Combobox logs a harmless "more than one instance" console message.

Real Estate 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 Real Estate 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=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Sora:wght@400;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.

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