RentalBeam

Embed loader reference

Every container attribute the embed loader reads, for both widgets, in one place.

Available onFreePlusPro

One script, https://cdn.rentalbeam.com/v1/embed.js, powers both widgets. It scans the page for container elements and reads the attributes below off each one. This page is a flat reference; the individual guides linked from each row explain the behavior in context.

Availability calendar - .rentalbeam-calendar

.rentalbeam is the legacy class name and is accepted forever alongside it.

AttributeValuesDescription
data-rental-idstringCalendar ID for a single rental. Required unless data-collection-id is set.
data-collection-idstringCollection ID - routes to the collection availability embed instead. See Collections.
data-viewcombined | timeline | tabsCollection view mode. Only used with data-collection-id; defaults to combined.
data-months-per-rowinteger 1-15Month columns per row. Default 3.
data-rowsinteger 1-15Rows of months. Default 1.
data-month-scalefloat 0.8-1.6Scale multiplier for each month card. Default 1.0.
data-themelight | darkForces a theme. Omit to auto-match the host page - see URL parameters.
data-calendar-languagestringForces the widget language to one of the 24 supported codes. See Languages.
data-calendar-id, idstringLegacy id attributes from previously issued snippets. Still accepted; prefer data-rental-id in new snippets.

Booking widget - .rentalbeam-booking-form

AttributeValuesDescription
data-rental-idstringBooking widget ID for a single rental. Required unless data-collection-id is set.
data-collection-idstringCollection ID - routes to the collection booking widget. See Collections.
data-pickercards | dropdownCollection member-picker mode. Only used with data-collection-id; omit for the dates-first default.
data-multi-request"true"Lets a guest request additional collection members for the same dates. Only used with data-collection-id.
data-rb-entry"searchbar"Renders a compact search bar instead of the full form. See Embed the booking widget.
data-couponstringAuto-applies a coupon code on load.
data-rb-checkinYYYY-MM-DDPrefills check-in.
data-rb-checkoutYYYY-MM-DDPrefills check-out.
data-rb-guestsintegerPrefills guest count.
data-themelight | darkForces a theme. Omit to auto-match the host page.
data-calendar-languagestringForces the widget language to one of the 24 supported codes.
data-calendar-id, idstringLegacy id attributes from previously issued snippets. Still accepted; prefer data-rental-id in new snippets.

Opening the widget programmatically

The loader also installs window.RentalBeam.openBooking(...) for launching the booking widget from your own button or search bar - see Embed the booking widget.

Every attribute here is additive and optional beyond the id - a bare container with just data-rental-id renders the default widget. Attributes not listed here, and any legacy id form not listed above, are not read by the loader.