Skip to content

Pet Care and Vet Homepage Template

Warm Bootstrap 6 veterinary clinic homepage with live open status, filterable services and prices, first-visit stepper, vet team, pet reviews and an appointment form.

Live preview

Open in new tab

Code

A warm, light Bootstrap 6 homepage template for a veterinary clinic, built for a fictional practice called Willow & Paw, with live opening status, filterable prices, a first-visit stepper, the vet team, reviews and an appointment form.

How it works

Everything sits inside .wp-page, which pins data-bs-theme="light" and re-maps the Bootstrap 6 primary role (--bs-primary-bg, --bs-primary-contrast, --bs-control-checked-bg) to forest green, so every btn-solid theme-primary, chip and badge uses the brand color.

  • Top bar: the script compares the visitor's clock with the HOURS array in script.js and writes "Open now" or "Closed now" into [data-wp-status]. When closed it adds .wp-closed to the root (orange dot).
  • Navbar: navbar lg:navbar-expand with a <dialog class="drawer drawer-end"> for mobile. "Services" opens a Bootstrap 6 .menu with menu-item-icon and menu-item-description. The script syncs aria-expanded and closes the drawer after a link.
  • Hero: a serif headline, chip tags, an arched photo collage and .wp-slot-card, whose [data-wp-slot] text ("Tomorrow, 8:20 AM") is computed from the hours.
  • Services: a btn-group of btn-check radio labels filters the six service cards by their data-wp-pets attribute.
  • First visit: a Bootstrap 6 stepper inside .contains-inline, horizontal from the sm: container width.
  • Booking form: <form data-bs-validate novalidate> with a Combobox (data-bs-name="species"), a native <select class="form-control">, a Datepicker limited to the next 60 days, and time-of-day radio buttons. On submit the script also checks the combobox and radios, simulates the request and opens #wp-toast.
  • FAQ: an exclusive accordion of <details name="wp-faq"> items.

Customization

  • Change --wp-forest, --wp-orange and --wp-cream in .wp-page (style.css). Update the --bs-primary-* lines beside them so buttons and checks follow.
  • Edit the HOURS array in script.js to set your opening hours. The status line and next-slot card use it.
  • Add or remove service cards and list the animals in each data-wp-pets value (dog, cat, small).
  • Change the 60-day window where the script sets data-bs-date-max on #wp-date.
  • Replace the setTimeout in the submit handler with fetch() to your booking endpoint.
  • The photos come from Unsplash. Replace them with photos of your own clinic, team and patients.

Accessibility

A skip link jumps to #wp-main. The toggler has aria-controls and an aria-label. The time options are grouped in a fieldset with a legend, error messages appear next to their fields, and the first invalid field gets focus. The toast uses role="status", focus rings are clearly visible and hover motion stops under prefers-reduced-motion.

Bootstrap 6 notes

Built on Bootstrap 6.0.0-alpha.1 (alpha APIs can still change). Bootstrap 5 developers will notice that btn-solid theme-primary replaces btn btn-primary, the navbar opens a Drawer instead of navbar-collapse, and Menu replaces Dropdown. The accordion is native <details>, and validation uses data-bs-validate instead of needs-validation. Combobox, Datepicker, Chips and Stepper are new Bootstrap 6 components. The selected Combobox value stays after the form resets, because the alpha has no reset method.

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;0,9..144,700;1,9..144,500&family=Nunito+Sans:opsz,wght@6..12,400;6..12,600;6..12,700;6..12,800&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.

Pet Care and Vet Homepage Template – Bootstrap 6 home pages component screenshot
Pet Care and Vet 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.

Nonprofit Charity Homepage Template – Bootstrap 6 home pages preview

Nonprofit Charity Homepage Template

Warm Bootstrap 6 charity homepage with arch photo hero, impact stats, filterable causes with progress bars, an impact slider, a donation form, story carousel, FAQ and footer.

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.

Beauty Salon Homepage Template – Bootstrap 6 home pages preview

Beauty Salon Homepage Template

Dark plum Bootstrap 6 beauty salon homepage with arched photo hero, tabbed price list with a service basket, artists, review carousel, online booking calendar and gift cards.

Plumber and Home Services Homepage Template – Bootstrap 6 home pages preview

Plumber and Home Services Homepage Template

Bold navy and orange Bootstrap 6 plumber homepage with a 24/7 emergency bar, call-back form, service area map with ZIP checker, flat-rate price table, review carousel and FAQ.