Travel Home
Your next trip leads as a tall photo poster with a live countdown to departure. Tap it and the poster grows into your boarding pass, with your stay, search and destination ideas below.
About the Travel Home screen
Flight, hotel and trip screens: search, results, seat selection, boarding passes, live flight status and itineraries. This is one of 16 travel screens.
How it behaves
It responds to taps, scrolling, pinch to zoom, long presses and swipes. On a phone you feel a light tap on buttons and a selection tick when you switch an option.
- Keeps fields and actions above the on-screen keyboard.
- The header reacts to scrolling instead of sitting on top of the content.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/travel-travel-home copies the screen into screens/travel/travel-home.tsx along with the 10 components it uses, so the source is yours to edit.
It's shown here in the teal accent: wrap it in a different <Accent> to recolour every button, highlight and chart at once. It follows light and dark mode, and runs on iOS and Android, including Expo Go.
Built from
- AvatarCircular profile image with fallback initials and a presence dot. An optional mode shows presence on the photo itself, bright when online and faded when away or offline.
- BarcodeSelf-contained Code 128 or EAN-13 barcode that fits any width and stays dark-on-white in both themes for reliable scanning. Bars draw in on open, and used codes get a redeemed stamp.
- CountdownLive countdown with rolling digits, inline or as blocks that brighten through the final ten seconds. At zero it can celebrate and show your result, or quietly fade if time ran out.
- GlassGlass surface for cards and controls: system glass on newer iOS, real refraction on the web and a frosted look elsewhere. Light can gather under your finger, and panes merge on newer iOS and the web.
- IconIcon set drawn on one consistent grid, sized and coloured from your theme. The heart, star and bookmark can fill in place inside their outline, then fade back out.
- ImageImage with a placeholder while it loads, a fallback when it fails, and aspect-ratio handling so your layout doesn’t jump when the picture arrives.
- LightboxPhoto gallery where any tapped photo grows out of its exact tile into a full-screen viewer, then flies back into the tile of whichever photo is showing when you let it go.
- Search InputSearch field with a clear button and a busy indicator while results load. Focus brightens the field, matching text in results can be highlighted, and a frosted glass style is included.
- TextThemed type scale from caption to display that follows light and dark mode. Includes a pull-quote style with an accent rule and a quieter dimmed tone for secondary text.
- Zoom TransitionScreen transition where a tile grows out of its exact spot into a full page before the content fades in. Closing returns it to the tile, and dragging down dismisses it.