# Travel Stay Search Bar

Stay search by destination, dates and guests.

- id: `travel-stay-search-bar`
- Page: https://agentic-ui-kit.com/components/travel-stay-search-bar
- Live preview: https://agentic-ui-kit.com/live/piece/travel-stay-search-bar?piece=travel-stay-search-bar

## Install

```bash
agentic-ui add travel-stay-search-bar
npx shadcn@4.17.0 add @agentic-ui/travel-stay-search-bar
```

## Metadata

- **Level:** feature
- **Category:** feature
- **Template:** Wayfarely Travel Marketplace
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** anchored-popover-panels, destination-autocomplete, range-calendar, guest-steppers, recent-searches, live-suggestion-filter, query-string-push
- **Intents:** explore-detail, navigate
- **Suits domains:** travel, ecommerce, maps-ops, operations
- **Interaction:** popover, calendar, stepper, autocomplete
- **Screen role:** overview
- **Density:** compact
- **Dark mode:** yes
- **Use it for:** stay search by destination, dates and guests, flight search with origin/destination and passengers, search for coworking spaces by area and capacity
- **Avoid when:** free-text searches without facets, contexts without a calendar or inventory
- **Preserve when adapting:** segmented-pill-ux, draft-then-apply-model, suggestion-ranking
- **Replace when adapting:** domain-entities, date-semantics, guest-parameters
- **Adaptation effort:** medium
- **Coupling:** medium
- **Quality score:** 8.75/10
- **Quality breakdown:** visual 10/10, responsive 8/10, accessibility 8/10, code 9/10
- **Uses primitives:** button, calendar, input, popover, separator
- **npm dependencies:** nuqs, next/navigation, react-day-picker, date-fns, lucide-react
- **Used in:** Wayfarely Travel Marketplace (template), Marketplace (blueprint)
- **npm dependencies (registry):** date-fns-tz@3.2.0, lucide-react@0.577.0, nuqs@^2.8.9, react-day-picker@10.0.1, usehooks-ts@^3.1.1, zustand@5.0.8
- **Registry dependencies:** lib-travel-marketplace-utils, ui-button, ui-popover, ui-separator, ui-travel-marketplace-calendar
