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-toggleropens the#flb-menuoffcanvas. - Hero: a dark photo background with the headline, two calls to action and key facts. The
.flb-todaycard shows today's status and popular prices with dotted leaders (.flb-dots). - Price list: two
.flb-price-listcolumns for haircuts and beard & shave services, each with duration notes. The.flb-featurecard promotes the hot towel shave, and its button pre-selects that service. - About, why us and gallery: the
.flb-ownerportrait, numbered.flb-whypoints and a six-photo.flb-gallery. - Reviews and barbers: review cards and
.flb-barbercards. Eachdata-flb-pick-barberbutton 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]hasdata-openanddata-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-brassand--flb-greyin:rootofstyle.css: change the header color, accent and section background.--flb-radius: raise it to12pxfor softer cards and buttons.SLOT_MINUTESinscript.js: set it to15or45to change the booking interval.WALK_IN_CUTOFFinscript.js: change how long before closing the last walk-in and booking slot is.data-openanddata-closeon eachtrin[data-flb-hours]: enter your hours in 24-hour time. Leave both empty for a closed day.data-flb-pick-barberon 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.