Search

Search components and flows across the catalog

WayfareConceptInteractive preview

Wayfare: Book a stay

A clickable two-step iOS flow: choose dates and guests for a coastal villa, reserve, and land on a trip pass showing the same stay, dates, guests and total.

Category
Booking
Platform
iOS
Steps
2

Interactive flowClick through it, resize it, or switch states. It’s real UI, not a screenshot.

Step by step

2 steps, start to finish

Every screen in this flow, in the order people see it.

  1. Wayfare: Stay details
    Step 1Wayfare: Stay details
  2. Wayfare: Booking confirmed
    Step 2 · FinishWayfare: Booking confirmed

Use this flow

Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.

FreeReact 18+Tailwind v3.4 or v4No extra packages

1. Add it with the shadcn CLI

npx shadcn@latest add https://www.thatdesignui.com/r/flows/wayfare-book-a-stay.json

2. Use it

Every prop is optional
app/page.tsx
import FlowWayfareBooking from "@/components/flow-wayfare-booking";

export default function Page() {
  return <FlowWayfareBooking />;
}

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. Plays the stay screen, then the booking-confirmed screen. Reserving on the stay screen passes { stay, checkIn, checkOut, nights, guests, total } forward, and the trip pass shows exactly those dates, nights, guests and total paid.
  2. A dark dock along the bottom edge (4.5rem tall; the phone screen above it fills the rest of the viewport) shows 1 Stay and 2 Confirmed, with the current step highlighted and a light teal #6cc3b6 step dot and focus ring, a Back arrow and a Restart button.
  3. On the confirmation, 'Change dates or guests' and the header back arrow return to the stay screen with the previously chosen dates and guests still selected.

How it behaves

  • Choosing Jun 14 – 16 with 3 guests and pressing Reserve opens the confirmation showing Mon, Jun 14 to Wed, Jun 16, 2 nights, 3 guests and $1,008.00.
  • Back (dock or 'Change dates or guests') returns to the stay screen with those dates and guests still selected; Restart returns to the default Jun 18 – 23 stay.
  • The step dock never covers the Reserve bar or any content at 375px.