Flight Search
Search flights with the route set large, big date figures and a strip of the cheapest fare for each day. Search lights the route from origin to destination with a plane riding along it.
About the Flight Search 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 and scrolling. On a phone you feel a light tap on buttons, a firmer tap on bigger actions and a selection tick when you switch an option.
- 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-flight-search copies the screen into screens/travel/flight-search.tsx along with the 5 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
- Animated NumberNumber that moves to each new value as a calm count-up or a roll where only the changed digits turn, set in type or in dot-matrix LEDs whose dots switch on in place. Screen readers announce just the final value, not every step.
- ButtonPill button that presses down under your finger, in eight styles from solid to glass, with a built-in loading state that swaps in place while an action runs.
- 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.
- Segmented ControlSegmented control for switching between a few options, with text segments that can carry icons. The highlight slides smoothly to your pick and can be dragged, and a glass style suits photos.
- 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.