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.

Live preview

Open in new tab

Code

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.

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.

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

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.

Bakery Homepage Template – Bootstrap 6 home pages preview

Bakery Homepage Template

Warm Bootstrap 6 bakery homepage template with an arched photo hero, tabbed product menu with tray, story stepper, cake order form with datepicker, reviews and a Bread Club dialog.

Furniture Store Homepage Template – Bootstrap 6 home pages preview

Furniture Store Homepage Template

Warm Bootstrap 6 furniture shop homepage with a shop-the-look hero, room collections, bestseller tabs with fabric swatches, showroom booking with datepicker, reviews carousel and FAQ.

Electronics Store Homepage Template – Bootstrap 6 home pages preview

Electronics Store Homepage Template

Dark Bootstrap 6 electronics shop homepage with a bento deals hero, live flash-sale countdown, filterable product grid, cart drawer, trade-in estimator, reviews and newsletter.

E-commerce Fashion Store Homepage Template – Bootstrap 6 home pages preview

E-commerce Fashion Store Homepage Template

Editorial Bootstrap 6 fashion store homepage with a centered-logo navbar, lookbook hero, category tiles, filterable new arrivals, cart drawer, sale countdown, reviews and newsletter signup.

Kindergarten Homepage Template – Bootstrap 6 home pages preview

Kindergarten Homepage Template

Playful Bootstrap 6 kindergarten homepage with a drawer navbar, photo collage hero, program tabs, daily rhythm stepper, teacher cards, parent reviews and a visit booking form.