Travel

Hotel Detail

Travel Pro

Browse a hotel through a full-bleed photo gallery and pick a room from a rail. Reserve drops the chosen room into the price bar, which becomes your stay summary of room, dates and total.

About the Hotel Detail 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 and swipes. On a phone you feel a light tap on buttons, a firmer tap on bigger actions, a selection tick when you switch an option and a success pulse when the task completes.

  • 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-hotel-detail copies the screen into screens/travel/hotel-detail.tsx along with the 8 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.
  • CarouselSnap carousel whose page dots stretch as you swipe, while side pages fade back so each new one feels like it’s arriving. Supports pinch and double-tap zoom.
  • 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.
  • 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.

More in Travel

View all 16