Set it up,
then make it yours.
Documentation · Version 1.2
How it works, where each engine keeps the hotel’s ID, every setting in the panel, and five looks to start from.
01
Start here.
Add it to your project. Open the link in your purchase email (or the Marketplace page) and drop Book Direct Bar on the page, usually right under the hero.
Connect the engine. Pick Mews, Cloudbeds or SiteMinder / Little Hotelier in Engine and paste the hotel’s ID in Property ID. Engines below shows where each one keeps it.
Make it yours. Choose a Layout (Row, Grid, Button or Modal only) and a Fields style (Joined, Separate or Minimal), then set colours, radius and fonts to match the site.
Test, then launch. Turn on Test mode, search once and open the link it prints on the hotel’s real engine. When it lands on the right rates, turn Test mode off and publish.
02
How it works.
The guest picks dates, guests and an optional promo code. When they press the button, the bar builds the engine’s own search link with those values and opens it. The guest lands on rates for their dates, on the hotel’s engine, ready to pay.
No API keys, no backend, no account to connect.
Nothing is stored and nothing is sent to analytics. The only place the search goes is the engine you pick.
Each engine’s address is fixed in the code (app.mews.com, hotels.cloudbeds.com, direct-book.com or book-directonline.com) and can’t be changed from the canvas.
Dates are sent as the engine expects them. Departure is always after arrival and respects your minimum stay.
03
Engines
Mews
The Booking Engine Configuration ID. In Mews: Settings › Services › your stay service › Booking engines › Identifier. A long ID with dashes. The Enterprise ID won’t work.
App.mews.com/distributor/{ID}
MewsStart, mewsEnd, mewsAdultCount, mewsChildCount, mewsVoucherCode, language, currency.
En-US, es-ES, fr-FR, de-DE, it-IT, pt-PT or nl-NL, from Engine language.
Cloudbeds
The property code. In Cloudbeds: Settings › Booking Engine › Summary. It’s the short code after /reservation/ in your booking link.
Hotels.cloudbeds.com/{language}/reservation/{code}
Checkin, checkout, adults, kids, promo, currency (lowercase, like eur).
Goes in the path, like /es/reservation/…
SiteMinder / Little Hotelier
The channel code after /properties/ in your booking engine URL.
Global uses direct-book.com. Asia-Pacific uses book-directonline.com. Use the one your current booking link uses.
CheckInDate, checkOutDate, items[0][adults], items[0][children], items[0][infants] (always 0), promocode, locale, currency.
SiteMinder ignores codes with spaces or accents, so the bar sends only letters, numbers, - and _.
Another engine?
Every engine is checked against its own documentation before it’s added, so the bar never guesses where a guest’s dates go. Using another one? Write to info@miguelrecio.es.
04
Layouts
Every field in one line, for the first screen under the hero. When the bar is narrower than Stack below (820 px by default for all five fields, less with fewer), it turns into a two-column grid by itself.
Two columns, promo code and button full width. For room pages, sidebars and cards.
Only the call to action. The fields open in a sheet on phones and a centred dialog from tablet up. When they are taller than the screen, as on a phone held sideways, the sheet scrolls.
Invisible on the page. A Book Trigger opens the dialog, so a header button, a room card or a text link can all start a booking.
Opening from your own buttons. Book Direct Bar comes with a second component, Book Trigger. With the bar on Button or Modal only:
Paste the Book Trigger link from your order note onto the canvas, where the button should be.
Design your button anywhere on the canvas, then connect it to the Trigger’s Button slot.
Leave Opens as book, or type the same word as the bar’s Open on link.
The Trigger only listens to clicks on its own button, so every other link on the page works as usual. A link to /your-page#book from another page opens the dialog too, once the page loads.
Different layout per breakpoint. Each breakpoint keeps its own settings. A common setup: Row on Desktop, Grid on Tablet, Button on Phone.
05
Customize the look.
Fields
One bar with thin dividers. Classic and compact.
Each field is its own card, with Gap between them. Looks good over photos.
No boxes, a line under each field, sitting on your section’s own background (Background isn’t used). For editorial, quiet sites.
Dates
How the chosen dates read on screen: 12 Nov 2026, Thu 12 Nov, 12/11/2026, or the browser’s own format. They’re written in the site’s language. Tapping a date always opens the device calendar.
Labels
Turn Labels off for a cleaner bar: screen readers still hear them. Uppercase switches between ARRIVAL and Arrival, and the button follows.
Colours
Background, Text, Labels colour, Lines, Button and Button text. Modal sets the dialog background. Pick your site’s colour styles in each one so the bar follows your palette. On a dark background, turn on Dark pickers so the calendar opens dark too.
Shape
Radius rounds the bar or each card. Button radius rounds the button on its own: 40 makes a pill. Button arrow adds →. Border draws a thin line, Shadow lifts the bar or the cards off the page. Field padding sets the space inside each field.
Type
Label font, Value font and Button font. Choose your site’s fonts and sizes in each one.
Recipes
Fields Joined · Radius 12 · Border on · Shadow on
Fields Separate · Gap 10 · Button radius 40 · Button arrow · Dates Thu 12 Nov · Uppercase off
Fields Minimal · Gap 24 · Dates 12/11/2026 · Uppercase off · Button radius 4
Fields Separate · Gap 4 · Labels off · Radius 0 · Promo code off · Dark pickers · your dark and accent colours
Layout Grid · Fields Separate · Shadow on · Button arrow
06
Settings reference.
In the order they appear in the property panel.
Engine
Mews, Cloudbeds or SiteMinder / Little Hotelier.
The hotel’s ID in its engine. See Engines.
SiteMinder only: Global or Asia-Pacific.
Auto follows the site’s locale. Engine default sends none. Or fix one of seven languages.
A three-letter code like EUR. Empty uses the engine’s default.
Opens the engine in a new tab. Off keeps the guest in the same tab, which most engines prefer.
Prints the exact link under the bar and keeps the button from leaving the page.
Fields and stay
Show or hide each field.
The highest number in each list.
How many nights the bar suggests on load.
Departure can never be earlier than this.
Text
Arrival, Departure, Adults, Children and Promo labels, Promo hint, Button label.
Open label (Button layout), Modal title and Close label (Button and Modal only).
All of them are translated by Framer Localization.
Layout
Row, Grid, Button or Modal only.
Row only. Below this width the row becomes a two-column grid. Set for all five fields, fewer fields need less room. 0 keeps one line.
The word that connects the bar to its Book Triggers and to links like /your-page#book. book by default.
Book Trigger
Connect your own button, link or card.
The Open on link word of the bar it opens. book by default.
Style
Fields — Joined, Separate or Minimal. Gap — space between fields when not joined.
Dates — 12 Nov 2026, Thu 12 Nov, 12/11/2026 or Browser default.
Labels, Uppercase.
Background, Modal, Text, Labels colour, Lines, Button, Button text, Dark pickers.
Radius, Button radius, Button arrow, Border, Shadow.
Label font, Value font, Button font, Field padding.
07
Languages
Every label is a property, so Framer Localization translates it like any other text.
Dates are written in the language of the page the guest is on.
With Engine language on Auto, the engine opens in the same language when it supports it. Otherwise it uses its own default.
08
Test mode and launch.
Test mode prints, live, the exact link the engine will receive, on the canvas and on the published site, and stops the button from leaving the page.
Before launch:
Turn on Test mode and publish to a staging domain or preview.
Pick dates, two adults and a child, and a promo code if the hotel has one.
Copy the printed link into a new tab. It should open the hotel’s engine on rates for those dates.
Check the language and currency.
Turn Test mode off and publish.
09
Measuring bookings.
The bar sends nothing to analytics by design. To measure it:
In Google Tag Manager, track outbound clicks to the engine’s address (for example app.mews.com) as an event.
Read confirmed bookings and revenue in the engine’s own reports. Most engines also connect to Google Analytics themselves.
10
Accessibility
Every field has a label for screen readers, even with Labels off.
Works with the keyboard. In the dialog, focus stays inside, Escape closes it and focus returns to the button that opened it.
Native date pickers on every device.
11
Troubleshooting
The Property ID is wrong or belongs to another account. Check it against your current booking link.
You pasted the Enterprise ID. Use the Booking engine Identifier.
The code has spaces or accents. Create one with only letters and numbers.
The engine doesn’t support that language, or Engine language is fixed. Set it to Auto.
The bar must be on the same page with Layout set to Button or Modal only, and Opens must match its Open on link. On the same page, use a Book Trigger rather than a plain link to #book.
Raise Stack below so it becomes a grid sooner, or pick Grid or Button for that breakpoint.
Turn on Dark pickers.
Test mode is on. Turn it off before you publish.
12
Updates
New versions are free and listed here. To update, insert the component again from the Marketplace page or from the link in your Polar order, which always points to the latest version, and copy your settings across.
— The booking sheet scrolls when it is taller than the screen, as on a phone held sideways, so Close and the button are always in reach.
— Book Trigger opens the dialog from any button you design, without listening to other links on the page. The promo field keeps every keystroke. Stack below adapts to the number of fields.
— Three field styles (Joined, Separate, Minimal), readable date formats in the site’s language, Labels and Uppercase switches, a Row that turns into a grid by itself on narrow widths, Button radius and arrow, Border, Shadow and Gap, neutral default colours, and full documentation.
— First release: Mews, Cloudbeds and SiteMinder / Little Hotelier, four layouts, Test mode.
13
Support and licence.
Questions or a bug? Write to info@miguelrecio.es. A person replies within two business days (Mon–Fri, CET).
One licence covers one website or project, the same Single-Use licence as Framer’s Marketplace. For several sites, buy one licence per site. Reselling or redistributing the component isn’t allowed.
Rates, availability and payment are handled by the hotel’s engine. Book Direct Bar only opens it.
Questions? Get in touch.
Email info@miguelrecio.es with your question and a link to your project.