Skip to content

Travel Agency Homepage Template

Bootstrap 6 travel agency homepage template with a photo hero and trip search, region-filtered destinations, tour packages with a budget slider, itinerary dialog, stories carousel and newsletter.

Also known as: tour operator website design, holiday booking landing page, vacation packages homepage, travel company website

Travel Agency Homepage Template live demo

Open in new tab

Bootstrap 6 code (HTML, CSS, JS)

A bold Bootstrap 6 homepage template for a travel agency called Farline Journeys: a full-bleed photo hero with a trip search bar, filterable destinations, tour packages with a budget slider, traveller stories and a deals sign-up.

How it works

The root .fj-page carries data-bs-theme="light" and maps the Bootstrap 6 primary role (--bs-primary-bg and friends) to coral, so buttons, chips, the range and the switch use the brand color. Fonts: Bricolage Grotesque and Figtree.

  • Hero and navbar: .fj-hero holds the background photo under two dark gradients. Inside it sits a transparent navbar lg:navbar-expand with data-bs-theme="dark" and a <dialog class="drawer drawer-end"> for mobile. The "Destinations" .menu links also filter the destination grid.
  • Trip search: #fj-search combines a searchable Combobox (data-bs-search="true"), a "When" select that the script fills with the next months (MONTHS_AHEAD) and a travellers select. Submitting scrolls to the tours and shows a toast.
  • Destinations: a bento grid (.fj-bento). The .chip buttons with data-fj-region filter tiles by data-fj-place.
  • Tour packages: a Bootstrap 6 Range (.form-range with #fj-budget) hides every .fj-tour-col whose data-fj-price is above the chosen budget. Each card's next departure is computed from data-fj-depart (the Saturday that many weeks ahead), so dates never go stale. "Itinerary" copies the hidden .fj-itin list into the #fj-itinerary Dialog.
  • Why Farline and stories: feature tiles, then a scroll-snap Carousel of quotes.
  • Deals sign-up: <form data-bs-validate novalidate> with a .switch; the script validates, simulates the request and confirms with #fj-toast.

Customization

  • Change --fj-coral, --fj-navy and --fj-sky on .fj-page in style.css to rebrand, and update the --bs-primary-* overrides beside them.
  • Swap the hero photo in the background of .fj-hero; keep the gradients for text contrast.
  • Set data-fj-price on each .fj-tour-col and the min, max and step of #fj-budget to match your price range.
  • Change data-fj-depart on a card to move its next departure by whole weeks.
  • Change MONTHS_AHEAD in script.js to offer more or fewer months in the search.
  • Replace the setTimeout in the newsletter handler and the toast in the search handler with fetch() calls to your booking backend.
  • The photos come from Unsplash; replace them with your own trip photography.

Use cases

  • Travel agencies and tour operators: a full-bleed photo hero with trip search starts the booking journey
  • Destination guides: region chips filter the destination grid so visitors browse by continent
  • Tour package sales: a budget slider hides tours above the visitor's price and shows the next departure
  • Deal newsletters: traveller stories and a deals sign-up with a switch grow a mailing list

Accessibility

A skip link jumps to #fj-main. The chips are toggle buttons with aria-pressed, filter results are announced in aria-live regions, every form control has a label, carousel buttons have visually hidden names and the toast uses role="status". Photo text sits on dark gradients for contrast, and hover zooms are turned off under prefers-reduced-motion.

Bootstrap 6 notes

Built on Bootstrap 6.0.0-alpha.1 (alpha APIs can still change). For Bootstrap 5 developers: Drawer replaces the collapsing navbar, Menu replaces Dropdown, Dialog replaces Modal, btn-solid theme-primary replaces btn-primary, form-control styles the <select> instead of form-select, and the Carousel now scrolls with CSS scroll-snap. New components used here: Combobox, Range, Chips and the switch. The script imports Dialog, Drawer and Toast from the bundle as an ES module. The Combobox choice stays after a search.

Travel Agency 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 Travel Agency 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=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Figtree:wght@400;500;600;700;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.

Travel Agency Homepage Template – Bootstrap 6 home pages component screenshot
Travel Agency Homepage Template · Bootstrap 6 Home Pages

More Home Pages

Restaurant Homepage Template – Bootstrap 6 home pages preview

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 – Bootstrap 6 home pages preview

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 – Bootstrap 6 home pages preview

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 – Bootstrap 6 home pages preview

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 – Bootstrap 6 home pages preview

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 – Bootstrap 6 home pages preview

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.