Skip to Content
Urban Cowboy
Components

Arrival (Photo Journey)

Opening screen that collects dates, party and intent before matching a room.

Arrive is the first step of the photo journey. It presents editorial intent cards and a date/party selector, then hands the caller a Match or Browse action. The docs harness owns all state locally; loadCalendar is a no-op, so no Mews availability or pricing request is made.

boolean
null
null
boolean

Former Storybook states

CalendarOpen, DatesSelected and FeaturesHidden are shown below.

boolean
null
null
boolean
boolean
boolean
boolean
null
null
boolean

Props

PropValuesNotes
checkIn / checkOut / setRangestring / callbackControlled date range
adults, children, infants and their settersnumber / callbackControlled party composition
activeSection / setActiveSectiondropdown section / callbackWhich selector panel is open
dailyRates / loadCalendarrecord / async callbackCalendar pricing; empty and no-op in docs
storieseditorial cards or nullPass null or [] to hide the features row
onMatch / onBrowsecallbacksIntent actions; recorded locally in docs
imageBaseUrlstringOptional prefix for icon assets under a base path

Responsive behaviour

The editorial cards and search controls wrap on narrow screens; the calendar panel opens in place rather than as a modal. The demo keeps the full-screen layout of the real journey step.

Usage

import { Arrive } from '@/journey/PhotoArrival';

<Arrive {...journeyState} stories={editorialStories} onMatch={startMatch} onBrowse={browseAll} />

View source