Skip to content

Medical Clinic Homepage Template

Light Bootstrap 6 medical clinic homepage with drawer navbar, quick booking bar (Combobox + Datepicker), services, filterable doctors, stepper, reviews, FAQ and booking dialog.

Also known as: clinic landing page, doctor appointment website, medical practice website design, healthcare clinic website

Medical Clinic Homepage Template live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

A light, trustworthy medical clinic homepage built with Bootstrap 6 for a fictional practice, Northside Health Clinic: services, doctors, booking steps, insurance, reviews, FAQ, location and an appointment dialog.

How it works

The page lives in .nh-page, which pins data-bs-theme="light" and re-maps the Bootstrap 6 primary role to navy and accent to coral, so every btn-solid theme-accent, badge and stepper dot follows the brand.

  • Navbar: a slim .nh-topbar, then navbar lg:navbar-expand with a <dialog class="drawer drawer-end">. "Services" opens a .menu; the script closes the drawer after a link is chosen.
  • Hero: headline, calls to action and an Unsplash photo with floating .nh-float cards. The "next same-day slot" label is computed from the current hour.
  • Quick booking bar (.nh-quick): a Combobox (data-bs-name="department"), a Datepicker limited to the next 60 days and a btn-check radio group. Submitting opens #nh-book prefilled.
  • Services: six .nh-service cards; telehealth uses .nh-service-dark.
  • Doctors: .chip buttons with data-nh-filter hide non-matching .nh-doc-col cards. "Next opening" labels come from data-nh-next (days from today, skipping Sundays), and buttons with data-nh-doctor prefill the dialog.
  • Steps, insurance, reviews, FAQ: stepper md:stepper-horizontal inside .contains-inline, stat tiles, quote cards, an exclusive <details name="nh-faq"> accordion and an SVG .nh-map placeholder with hours.
  • Booking dialog: <form data-bs-validate novalidate> in <dialog class="dialog dialog-lg">. Invalid fields get .is-invalid; a valid form shows a spinner, simulates the request and shows #nh-toast.

Customization

  • Change --nh-navy and --nh-coral in style.css (plus the --bs-primary-* / --bs-accent-* lines) to rebrand.
  • Edit data-nh-next on each doctor card to set the next opening.
  • Add a doctor by copying a .nh-doc-col with a data-nh-specialty that matches a data-nh-filter chip.
  • Edit the menu-item buttons with data-bs-value to change departments.
  • Replace the setTimeout in the .nh-book-form submit handler with fetch() to your scheduling endpoint.
  • Change dateMax in the Datepicker.getOrCreateInstance() call to allow booking further ahead.
  • Photos come from Unsplash; replace them with your own clinic and staff photos.

Use cases

  • Medical clinics and health centers: patients see services, doctors and insurance info, then book from one page
  • Specialist doctors and group practices: visitors filter the doctor cards by specialty and see each next opening
  • Telehealth and urgent care providers: a quick booking bar with department and date picker starts an appointment
  • Clinic website redesigns: a ready homepage with FAQ, reviews and location replaces an outdated site

Accessibility

A skip link jumps to #nh-main. Filter chips expose aria-pressed and announce the count in a live region, ratings and the map are labelled role="img", every control has a label, the first invalid field gets focus and the toast uses role="status". Hover lift and smooth scrolling stop under prefers-reduced-motion.

Bootstrap 6 notes

Built on Bootstrap 6.0.0-alpha.1 (alpha APIs can still change). Versus Bootstrap 5: btn-solid theme-accent replaces btn-primary, the navbar uses a Drawer instead of navbar-collapse, Dropdown became Menu, Modal became Dialog, form-select is form-control on a <select>, checkboxes are .check, and the accordion is native <details>. Combobox, Datepicker, Chips and Stepper are new. The script imports Datepicker, Dialog, Drawer and Toast as an ES module. The alpha Combobox logs a harmless "more than one instance" console message.

Medical Clinic 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 Medical Clinic 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=Lexend:wght@400;500;600&family=Source+Sans+3: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.

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