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-barInstallation
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
| Prop | Type | Default | Description |
|---|---|---|---|
valuereq | StaySearchValue | — | Controlled search state with ISO date fields. |
onChangereq | (value: StaySearchValue) => void | — | Called on any field change. |
onSearch | (value: StaySearchValue) => void | — | Called when the user clicks Search. |
suggestions | QuerySuggestion[] | — | Destination autocomplete suggestions. |
suggestionsLoading | boolean | — | Shows suggestion loading skeleton. |
guestConfig | GuestPickerConfig | — | Occupancy constraints passed to GuestPicker. |
minDate | string | — | Minimum selectable date (ISO). Defaults to today. |
maxDate | string | — | Maximum selectable date (ISO). |
minNights | number | — | Minimum nights between check-in and check-out. |
maxNights | number | — | Maximum nights between check-in and check-out. |
disabled | boolean | — | Disables all fields. |