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.

Also known as: veterinary clinic website design, animal hospital landing page, vet practice homepage, pet clinic website

Pet Care and Vet Homepage Template live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

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.
  • 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.

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).
  • Replace the setTimeout in the submit handler with fetch() to your booking endpoint.
  • The photos come from Unsplash. Replace them with your own. The footer credit links to WebDevSnippets; you can keep it or remove it.

Use cases

  • Veterinary clinics and animal hospitals: live open status and next slot show visitors when to come in
  • Service pricing: radio filters narrow services by dog, cat or small pets alongside prices
  • New pet owners: a first-visit stepper explains what to expect at the appointment
  • Appointment requests: the form with species combobox, datepicker and time of day books a visit

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. Focus rings are 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.

Pet Care and Vet 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 Pet Care and Vet 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;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 – free Bootstrap 6 home page template
Pet Care and Vet Homepage Template · free Bootstrap 6 home page template

More Home Pages

Restaurant Homepage Template – free Bootstrap 6 home page template

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 – free Bootstrap 6 home page template

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 – free Bootstrap 6 home page template

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 – free Bootstrap 6 home page template

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 – free Bootstrap 6 home page template

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 – free Bootstrap 6 home page template

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.