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.

Live preview

Open in new tab

Code

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.

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.

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

Kindergarten Homepage Template – Bootstrap 6 home pages preview

Kindergarten Homepage Template

Playful Bootstrap 6 kindergarten homepage with a drawer navbar, photo collage hero, program tabs, daily rhythm stepper, teacher cards, parent reviews and a visit booking form.

University Homepage Template – Bootstrap 6 home pages preview

University Homepage Template

Classic Bootstrap 6 university homepage with a campus photo hero, visit datepicker, program finder tabs, news, upcoming events, student testimonials carousel and admissions form.

Online Course Homepage Template – Bootstrap 6 home pages preview

Online Course Homepage Template

Bootstrap 6 online course platform homepage with a topic combobox search, filterable course catalog, preview dialog, instructors, learner reviews, pricing switch and signup form.

Accounting Firm Homepage Template – Bootstrap 6 home pages preview

Accounting Firm Homepage Template

Bootstrap 6 accounting firm homepage template with a savings estimator, services grid, onboarding steps, client testimonials, FAQ and a consultation booking form with datepicker.

Law Firm Homepage Template – Bootstrap 6 home pages preview

Law Firm Homepage Template

Bootstrap 6 law firm homepage template with a drawer navbar, practice area tabs, case results, attorney profiles, client reviews, FAQ and a free consultation form.

Medical Clinic Homepage Template – Bootstrap 6 home pages preview

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.