Skip to content

Dental Clinic Homepage Template

Warm Bootstrap 6 dental clinic homepage with pill navbar, arched photo hero, treatment tabs, before/after Range slider, team, membership plans, reviews carousel and inline-calendar booking.

Also known as: dentist website design, dental practice landing page, orthodontist website layout, dental clinic booking page

Dental Clinic Homepage Template live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

A warm dental clinic homepage built with Bootstrap 6 for a fictional practice, Lumen Dental Studio. Cream, plum and mint colors, a soft serif headline and rounded shapes feel calm rather than clinical, ideal for family, cosmetic or orthodontic practices.

How it works

Everything lives in .ld-page, which pins data-bs-theme="light" and re-maps the Bootstrap 6 primary role to plum and accent to mint, so buttons, btn-check labels, the switch and the range follow the brand.

  • Navbar: a floating pill (.ld-nav) built from navbar lg:navbar-expand with a <dialog class="drawer drawer-end"> on small screens. "Treatments" menu items carry data-ld-tab and open the matching tab via Tab.getOrCreateInstance().
  • Hero: a large headline, calls to action and an arched Unsplash portrait with a mint .ld-blob, a rotated .ld-sticker badge and a .ld-review card.
  • Treatments: nav nav-pills nav-pills-vertical tabs switch five .tab-pane panels. Buttons with data-ld-pick preselect the visit type in the booking form.
  • Whitening preview: two copies of one photo in [data-ld-compare]. The Bootstrap 6 Range (.form-range) sets --ld-pos, which moves the clip-path of .ld-compare-before. The "before" tint is a CSS filter, so the preview is clearly simulated.
  • Team, plans, reviews: portrait cards with chips, membership cards (.ld-plan-featured highlighted) and a scroll-snap carousel.
  • Booking: btn-check treatment choices, an inline Datepicker (next 60 days, Sundays disabled, first open day preselected), time slots, name, email and a .switch. The .ld-summary panel updates live through [data-ld-out]. Submitting validates, shows a spinner, simulates the request and opens #ld-toast.
  • FAQ and footer: an accordion-flush of <details name="ld-faq">, hours and an SVG .ld-map placeholder.

Customization

  • Change --ld-plum, --ld-mint and --ld-cream in style.css (plus the --bs-primary-* / --bs-accent-* lines) to rebrand.
  • Edit the LENGTHS object in script.js to change each treatment's estimated length.
  • Change dateMax or vcpOptions: { disableWeekdays: [0] } in the Datepicker.getOrCreateInstance() call to set the booking window and closed days.
  • Replace the setTimeout in the booking submit handler with fetch() to your scheduling system.
  • Use real before and after photos in [data-ld-compare] and remove the filter on .ld-compare-before .ld-compare-img.
  • Remove .ld-plan-featured from the Plus card to make all plans equal.
  • Photos come from Unsplash; replace them with your own studio and team images.

Use cases

  • Family and cosmetic dentists: a calm cream and plum look presents treatments and membership plans clearly
  • Orthodontic practices: the before and after slider previews whitening results next to treatment tabs
  • New patient acquisition: visitors choose a treatment, pick a date on the inline calendar and request a visit
  • Dental membership programs: plan cards, reviews carousel and FAQ answer common questions before booking

Accessibility

A skip link jumps to #ld-main. Tabs use role="tab" with aria-selected, carousel slides are labelled groups, booking choices sit in fieldset/legend, the summary is an aria-live region and the toast uses role="status". The range has a hidden label, ratings and the map are labelled role="img", and smooth scrolling stops 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-primary replaces btn-primary, toggle buttons wrap the input in label.btn-check, the navbar uses a Drawer, Dropdown is Menu, the range is a .form-range wrapper, form-switch became .switch, and the accordion is native <details>. The script imports Datepicker, Drawer, Tab and Toast as an ES module.

Dental 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 Dental 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=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&family=Outfit:wght@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.

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