Skip to Content
Urban Cowboy
Components

FindYourStayTravelPartyButton

Party-type selector used by the intent-first "Find your stay" step.

The travel party button renders a title, subtitle and selection state. The demo uses the component's exported DEFAULT_TRAVEL_PARTY_OPTIONS and a docs-only selection state.

*
string

Props and states

PropValuesNotes
idpartner, friends, family, solo or a custom stringStable option identifier passed to onSelect
title / subtitlestringEditorial copy for the option
isSelectedbooleanSelected presentation
onSelect(id: string) => void | Promise<void>Supports asynchronous callers
isLoading / disabledbooleanBusy and unavailable states

The former Default and Selected stories are represented by the four-option grid; the selected card updates immediately on click.

Responsive behaviour

Options stack on small screens and form a two-column grid from sm upward. Buttons keep their intrinsic height and wrap text rather than introducing horizontal scrolling.

Usage

import { FindYourStayTravelPartyButton } from '@/components/booking/discovery/FindYourStayTravelPartyButton';

<FindYourStayTravelPartyButton
  id="partner"
  title="PARTNER"
  subtitle="Just the two of us"
  isSelected={party === 'partner'}
  onSelect={setParty}
/>

View source