WayfareConceptInteractive preview
Wayfare: Stay details
An iOS stay page for a coastal villa with a swipeable illustrated gallery, an inline range calendar, a guests stepper and a live price breakdown behind a sticky Reserve bar.
- Category
- Booking
- Platform
- iOS
Interactive screenClick through it, resize it, or switch states. It’s real UI, not a screenshot.Dates chosen state
Use this screen
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/screens/wayfare-stay-details.json2. Use it
Every prop is optionalapp/page.tsx
import WayfareStay from "@/components/wayfare-stay";
export default function Page() {
return <WayfareStay />;
}Prefer to paste it yourself? Open the .
Under the hood
How it’s built
What’s inside
- A 390px iOS phone frame (44px radius, 10px #1d2b2a border) centred on a warm sand gradient from sm up, full-bleed below sm. Ivory #fbf8f2 surface, ink #1d2b2a, deep teal #0f5c5a accent, terracotta #c4643f for the heart, star and today dot; serif headings (Iowan Old Style / Palatino stack) over a system sans body.
- A 352px gallery of four CSS/SVG scenes (villa above the bay at golden hour, infinity pool, arched terrace at dusk, harbour at sunrise). It swipes by pointer drag with edge resistance, by the left/right arrow keys and by 40px dot buttons; the active dot stretches to a 20px pill and a '1 / 4' counter sits bottom right. Frosted 40px back and heart buttons float on top; the heart is aria-pressed, fills terracotta with a pop and shows a 'Saved to your Wayfare wishlist' toast.
- Below a 28px-radius sheet overlapping the image: a teal 'Wayfare Select' label, a 31px serif 'Casa Albarella', location, room facts, a three-column stat strip (4.96 rating, 218 reviews, 7 yrs hosting), a host row with a verified badge, a description and a 3 x 2 grid of amenity tiles with teal line icons.
- An inline June/July 2027 calendar (today fixed at Wed 9 June): past days are greyed and disabled, booked nights are struck through and disabled, check-in and check-out are solid teal circles joined by a pale teal band, and after picking check-in, hovering a later day previews the range with a dashed end circle. Ranges over booked nights restart from the clicked day; stays cap at 14 nights.
- A guests stepper (1 to 6, 40px round buttons), and a price card: $412 x nights, $85 cleaning, a 12% service fee and a serif total that rolls in when it changes, plus a free-cancellation line. A sticky bottom bar shows '$2,392 total' with the dates and guests, and a 52px teal pill 'Reserve' that spins 'Reserving…' for about a second, then calls onContinue({ stay, checkIn, checkOut, nights, guests, total }).
How it behaves
- With no props the stay is Jun 18 – 23 for 2 guests and the bar reads '$2,392 total' ($2,060 + $85 cleaning + $247 service fee).
- Dragging the gallery or pressing the arrow keys while it is focused moves between the four photos; the dots and the 'n / 4' counter follow, and the first and last photos resist an over-drag.
- Clicking Jun 14 then Jun 16 selects two nights and updates the price card and bottom bar; clicking Jun 10 then Jun 15 moves check-in to Jun 15 with a note because Jun 12–13 are booked; days before Jun 9 cannot be clicked.
- The guests stepper stops at 1 and 6, and the heart toggles aria-pressed with a toast each time.
- In the 'No dates yet' state the bar shows '$412 night' and 'Choose dates', and pressing it scrolls to and focuses the calendar.
- Every control is reachable by keyboard with a visible teal focus ring; with reduced motion the slides, toast and pop do not animate.
