Stay Search Bar

Horizontal search bar for accommodation / stay search. Composes QueryCombobox (destination), DateRangePicker (check-in/out), and GuestPickerPanel (guests). Emits a StaySearchValue with ISO date strings.

core/stay-search-bar

Installation

1 · Add registry to components.json

2 · Install component

Examples

Default

Full search bar with destination autocomplete.

Stay search flow

Full-page composition: search bar + results list. Use this as the visual reference for stay search UIs.

API Reference

PropTypeDescription
valuereq
StaySearchValueControlled search state with ISO date fields.
onChangereq
(value: StaySearchValue) => voidCalled on any field change.
onSearch
(value: StaySearchValue) => voidCalled when the user clicks Search.
suggestions
QuerySuggestion[]Destination autocomplete suggestions.
suggestionsLoading
booleanShows suggestion loading skeleton.
guestConfig
GuestPickerConfigOccupancy constraints passed to GuestPicker.
minDate
stringMinimum selectable date (ISO). Defaults to today.
maxDate
stringMaximum selectable date (ISO).
minNights
numberMinimum nights between check-in and check-out.
maxNights
numberMaximum nights between check-in and check-out.
disabled
booleanDisables all fields.