Flight Preferences
Choose which flight alerts you want while a lock-screen preview stacks up each real notification. Continue plays your chosen alerts in order before moving to the next step.
About the Flight Preferences 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 selection tick when you switch an option, a success pulse when the task completes and a warning buzz when something can't be done yet.
- Has an empty state for when there's nothing to show yet.
- Keeps the main action docked at the bottom while the content scrolls.
- 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-preferences copies the screen into screens/travel/flight-preferences.tsx along with the 6 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
- 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.
- 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.
- SwitchOn/off switch whose colour fills in from behind the thumb as it turns on. Turning off fades it back quickly, and a disabled switch gives a gentle flicker when tapped.
- 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.