A travel app onboarding screen that walks new users through swipeable photo intro cards, an interests picker and a travel style step. This HTML mobile template for mobile sites and PWAs is built with Bootstrap 5 and Bootstrap Icons, works as an app walkthrough or "choose your interests" UI, and can be packaged with Capacitor for iOS and Android.
How it works
The root .tvo-app is a centred app column (max 430 px, full height) with a top bar, three steps ([data-tvo-step]) and a sticky footer button. The bar shows the brand, a three-segment .tvo-progress bar and a Skip button.
Step 1 is .tvo-cards, a horizontal scroll-snap carousel of .tvo-card photo slides. Swiping updates the .tvo-dot indicators after the scroll settles; the dots, the arrow keys and the Next button move between slides, and on the last slide the button reads "Get started". Skip jumps straight to the interests.
Step 2 is .tvo-grid, six photo .tvo-tile buttons toggled with aria-pressed. The hint above the button counts the picks, and Continue is blocked with an error message until data-tvo-min interests are chosen.
Step 3 uses real radio buttons and checkboxes: .tvo-option cards for who travels along, a .tvo-segment control for pace and .tvo-chip labels for stay types. Finish setup shows a short saving state, then the done panel lists every answer in a .tvo-summary list. The Back button returns to the previous step.
Customization
--tvo-oceaninstyle.css(on.tvo-app): the accent color of the progress bar, dots, selected tiles, chips and buttons.--tvo-radiuson.tvo-app: the 16 px corner radius used by cards, tiles, options and the main button.data-tvo-minon.tvo-app: how many interests must be selected before Continue works (default 3).- Add or remove a
.tvo-tilewith itsdata-tvo-interestvalue to change the interest grid; the summary uses that value. - Add a
.tvo-cardand a matching.tvo-dotwith the nextdata-tvo-dotindex to extend the intro. - Replace the timeout in
finish()inscript.jswithfetch()to save the profile on your server. - The photos come from Unsplash; replace them with your own destination images.
Use cases
- Trip planners: learn what users like before showing the first itinerary ideas.
- Travel booking apps: personalise hotel and tour suggestions from the first launch.
- City guide PWAs: pick favourite kinds of places before showing a map.
- Tour operator apps: segment new users by travel company and pace.
Accessibility
The carousel is a labelled region with slide groups, keyboard arrow support and dot buttons with aria-current. Interest tiles are buttons with aria-pressed; travel style uses native radios and checkboxes inside fieldsets with legends. The progress bar exposes aria-valuenow, each step heading receives focus when shown, and step changes and errors are announced through polite live regions. Touch targets are at least 44 px and transitions are disabled with prefers-reduced-motion.