Carbook is a website template for car rental and car hire companies, built on Bootstrap 5. The layout is responsive and works in all popular web browsers. It comes with nine pages: home, about, services, pricing, cars, car details, blog, blog post and contact.
The home page has a hero with a trip search form, a how-it-works block, a featured cars slider, an about section, services, a call to action, a testimonial slider, recent posts and animated counters. The inner pages add a pricing table with hourly, daily and monthly rates, a car grid, a car page with specs, features, description, reviews and related cars, a blog with a post page, comments and a sidebar, and a contact page with a working form and a click-to-load map. The page headers scroll with a parallax effect and the menu sticks to the top when you scroll.
What’s new in 3.0
Bootstrap 5.3.8 (the earlier release used Bootstrap 4 and jQuery), compiled from Sass with the original Bootstrap 4 proportions, and plain JavaScript with no jQuery. Swiper 14 replaces Owl Carousel on the car and testimonial sliders, Jarallax replaces Stellar and Scrollax on the page headers, a native dialog opens the video, and small built-in modules replace AOS, CounterUp and the date pickers. npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter pages: all nine pages together went from 25.7 MB and 426 requests to 12.5 MB and 181 requests, and the home page from 3.9 MB to 2.5 MB. Every photo has an AVIF version with the JPEG as the fallback, real dimensions and lazy loading below the first screen, and unused plugins such as jQuery Migrate, a timepicker, a date picker and animate.css are gone.
No third-party requests: Poppins is self-hosted, the four icon fonts are replaced by Lucide SVG icons and a small social-logo subset (the Twitter bird is now the X logo), the contact map loads from OpenStreetMap only when you click it, the video loads from YouTube’s privacy-enhanced player only after a click, and a Google Analytics 4 snippet stays commented out until you add your own ID.
Working forms: the contact and comment forms send through php/send-email.php, with validation, a spam trap and an in-page message. Before, none of the forms could send anything. The trip search form opens the cars page with your pick-up and drop-off details in the address.
Accessibility: a skip link and a main landmark on every page, one h1 per page, a real menu button, tabs that work from the keyboard, labelled form fields, names on icon-only links, visible focus rings, reduced-motion support and WCAG AA text contrast, with a darker blue and green for buttons and text on white and darker scrims behind text on photos.
Demo content: generic car classes and fictional names, prices, reviews and contact details in place of real car makes and people, and a fleet of six cars. All photos are Unsplash photos without visible brand badges, number plates or identifiable people.