Finder
Main accommodation search interface allowing guests to input dates, occupancy, and destination.🔍 Component type: Search interface | Connects to:
/booking-rooms
page with <rates>
componentBasic Implementation
Add the search component to your page:Property Types
The finder form adapts based on your data repository configuration:- Individual Hotel
- Hotel Chain
Configuration:
data-type="hotel"
(default)Shows basic search fields:- Check-in/check-out dates
- Occupancy (adults/children)
- Promotional code
data-mirai-id
Layout Options
data-layout
Options:
inline
| column
| expand
inline
(default): Horizontal fieldscolumn
: Vertical stackingexpand
: Full parent width (inline only)
data-icon
Options:
false
| true
false
(default): Text buttontrue
: Magnifying glass icon
Layout Examples
The
data-layout="expand"
attribute only works with inline
layout. It has no effect when combined with column
.Device-Specific Display
Control component visibility based on device type:data-mobile
Options:
true
| false
true
: Shows only on mobile devicesfalse
(default): No mobile restrictiondata-desktop
Options:
true
| false
true
: Shows only on desktopfalse
(default): No desktop restrictionResponsive Examples
Automatic Mobile Optimization: The finder automatically switches to a compact, touch-friendly layout on small screens without requiring configuration.
JavaScript Events
Interact with the finder component programmatically:- Set Values
- Listen to Changes
Publishing setStore Event
Programmatically set form values:Send any combination of fields. Omitted fields remain unchanged.
Complete Examples
Hotel with custom layout
Hotel with custom layout
Chain with device targeting
Chain with device targeting
Programmatic integration
Programmatic integration
💬 Need help with finder setup? Contact us at support@hotellinkage.com