Skip to content

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.

Also known as: barber shop website design, mens grooming landing page, haircut booking homepage, barber club website

Barbershop Homepage Template live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

A dark, old-school barbershop homepage built with Bootstrap 6 for a fictional shop called Northgate Barber Club, with a price list, barber profiles, online booking, reviews and live opening hours.

How it works

Everything sits inside .nb-page, which carries data-bs-theme="dark" and re-maps the Bootstrap 6 primary role (--bs-primary-bg, --bs-primary-contrast and friends) to brass. Fonts: Oswald and Karla.

  • Navbar: navbar lg:navbar-expand with a <dialog class="drawer drawer-end">. Below 1024px the toggler opens the drawer; the script syncs aria-expanded and closes it after an in-page link. "More" opens a .menu with menu-item-icon and menu-item-description.
  • Hero: a striped barber pole (.nb-pole), headline, calls to action and quick facts. The .nb-ticket card shows the next open chair, computed from NB_HOURS in script.js relative to the visitor's clock.
  • Services: nav nav-underline tabs switch three .tab-pane price lists. Each .nb-price-row has a dotted .nb-leader.
  • Barbers: four cards with Unsplash photos and .chip specialties. A data-nb-barber button preselects that barber in the booking form and scrolls to it.
  • Booking: <form data-bs-validate novalidate> with a searchable Combobox (data-bs-toggle="combobox") for the service, a Datepicker limited to today plus 60 days, btn-check radio labels for time slots and a .switch. On submit the script checks the Combobox's hidden service input, flags invalid fields with .is-invalid, shows a spinner and opens #nb-toast with the chosen date and time.
  • Reviews, visit and club: rating bars built with .progress, quote cards, an hours table whose current day gets .nb-today, an open/closed badge, an SVG street map and a membership CTA.

Customization

  • Change --nb-brass, --nb-red and --nb-blue in .nb-page (style.css) to rebrand; update the --bs-primary-* overrides beside them so buttons follow.
  • Edit NB_HOURS in script.js and the data-nb-day rows of .nb-hours together when your opening hours change.
  • Add or remove time slots by copying a btn-check label inside .nb-time-grid.
  • Add services as .menu-item buttons with a data-bs-value in the Combobox menu.
  • Replace the setTimeout in the submit handler of script.js with fetch() to your booking endpoint.
  • Remove .nb-quote-accent from the second review to make all quotes look the same.
  • The photos come from Unsplash; replace them with pictures of your own shop and team.

The footer credit links to WebDevSnippets; you can keep it or remove it.

Use cases

  • Barbershops and grooming clubs: price-list tabs show cuts, shaves and beard trims with dotted leaders
  • Barber selection: cards with specialty chips let clients choose a barber and jump to booking
  • Appointment booking: a form with service combobox, datepicker and time slots books a chair
  • Live shop info: the next open chair, hours table with today highlighted and open badge help walk-ins

Accessibility

A skip link jumps to #nb-main. Tabs use role="tab" with aria-selected, time slots sit in a fieldset with a legend, the map is one role="img" with a label, and the next-chair card and toast are polite live regions. Focus rings are visible in brass, and the pole animation and hover effects stop under prefers-reduced-motion.

Bootstrap 6 notes

Built on Bootstrap 6.0.0-alpha.1 (alpha APIs can still change). Coming from Bootstrap 5: the navbar uses lg:navbar-expand with a Drawer instead of navbar-collapse, Dropdown is now Menu, form-select is gone (a <select class="form-control"> is used), validation uses data-bs-validate instead of needs-validation, and the Combobox and Datepicker are new built-in components. After a simulated booking the form keeps its values, because the Combobox has no public reset method.

Barbershop 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, dark design
Category
Home Pages
License
Free for personal and commercial use

Questions about this template

Can I use the Barbershop 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=Oswald:wght@400;500;600;700&family=Karla:wght@400;500;600;700&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.

Barbershop Homepage Template – free Bootstrap 6 home page template
Barbershop 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.

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.

Podcast Homepage Template – free Bootstrap 6 home page template

Podcast Homepage Template

Warm, light Bootstrap 6 podcast homepage with a cover-art hero and episode player, searchable episode list with topic chips, hosts, listener reviews, subscribe links and FAQ.