Skip to content

Barbershop Homepage

Barbershop homepage with a hot towel shave price list, barber profiles, open-now hours and an online booking form with time slots for a barber shop website.

Also known as: barber shop website, barbershop landing page, barber booking page, men's grooming website, barber price list

Barbershop Homepage live demo

Open in new tab

Bootstrap 5 code (HTML, CSS, JS)

A barbershop homepage built with Bootstrap 5 for a fictional shop, Foundry Lane Barbers. This barber shop website template has a charcoal header and hero, a crisp white body, brass accents and Oswald headings. It suits a barbershop or grooming studio that takes walk-ins and online bookings.

How it works

Everything sits inside .flb-page:

  • Navbar: a sticky charcoal header with the monogram wordmark, section links, phone number and a "Book a chair" button. Below 992 px, .flb-toggler opens the #flb-menu offcanvas.
  • Hero: a dark photo background with the headline, two calls to action and key facts. The .flb-today card shows today's status and popular prices with dotted leaders (.flb-dots).
  • Price list: two .flb-price-list columns for haircuts and beard & shave services, each with duration notes. The .flb-feature card promotes the hot towel shave, and its button pre-selects that service.
  • About, why us and gallery: the .flb-owner portrait, numbered .flb-why points and a six-photo .flb-gallery.
  • Reviews and barbers: review cards and .flb-barber cards. Each data-flb-pick-barber button fills the barber select in the form.
  • Offer and FAQ: a first-visit discount banner and a flush Bootstrap accordion.
  • Hours and location: each row of [data-flb-hours] has data-open and data-close. The script highlights today, sets every [data-flb-status] badge and writes the hero card text. The map is a static SVG with a "Get directions" link.
  • Booking form: the date input allows today plus 30 days. On change, fillTimes() builds 30-minute slots from that day's hours, skips past times today and blocks closed days. A simulated submit shows a success alert.

Customization

  • --flb-charcoal, --flb-brass and --flb-grey in :root of style.css: change the header color, accent and section background.
  • --flb-radius: raise it to 12px for softer cards and buttons.
  • SLOT_MINUTES in script.js: set it to 15 or 45 to change the booking interval.
  • WALK_IN_CUTOFF in script.js: change how long before closing the last walk-in and booking slot is.
  • data-open and data-close on each tr in [data-flb-hours]: enter your hours in 24-hour time. Leave both empty for a closed day.
  • data-flb-pick-barber on a team button: must match an option in #flb-barber. Add a card and an option for each new barber.

Use cases

  • Barbershops: publish prices, barbers and hours, and take booking requests.
  • Men's grooming studios: promote shaves and packages with the feature card.
  • Hair salons with walk-ins: show open-now status and the last walk-in time.

Accessibility

The page has a skip link, labeled navigation and aria-expanded accordion buttons. Ratings use role="img" with an aria-label. Today's row gets aria-current="date", and the booking confirmation uses role="status". Tap targets are at least 44 px, focus outlines are visible, and smooth scrolling and transitions turn off with prefers-reduced-motion.

Usage notes

The photos come from Unsplash; replace them with your own. To send real bookings, replace the setTimeout in the submit handler with fetch() to your booking system. The footer credit links to WebDevSnippets and can be kept or removed.

Barbershop Homepage at a glance

Framework
Bootstrap 5
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Bootstrap 5, 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 Barbershop Homepage 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 5 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@5.3.3/dist/css/bootstrap.min.css">
  • <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/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=Libre+Franklin:wght@400;500;600;700&family=Oswald:wght@500;600&display=swap">
Barbershop Homepage – free Bootstrap 5 home page template
Barbershop Homepage · free Bootstrap 5 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.