Marketing · Gutenberg

Booking Form block for WordPress

Appointment booking form with calendar date picker, time slot selection, service type and confirmation message.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Appointment booking form with calendar date picker, time slot selection, service type and confirmation message.

Inspector panels on this block: Form Content, Services, Time Slots, Form Fields, Layout. Those titles come from index.js, not from a shared template.

Where to find it

Gutenberg inserter → Marketing → search “Booking Form” (block name `blockenberg/booking-form` in block.json). Style it in the sidebar after insert.

How to use Booking Form block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Booking Form”, insert it. Category: Marketing.
  3. Configure inspector controls that exist on this block. Open Form Content. Set “Service name”, “Duration (min)”, “Price”, “Form Title”.
  4. Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Service nameText field in the inspector.
Duration (min)Text field in the inspector.
PriceText field in the inspector.
Form TitleText field in the inspector. block.json default: Book an Appointment. Saved as `formTitle`.
Form SubtitleText field in the inspector. block.json default: Choose your preferred date and time.. Saved as `formSubtitle`.
Submit Button LabelText field in the inspector. block.json default: Confirm Booking. Saved as `submitLabel`.
Confirmation TitleText field in the inspector. block.json default: Booking Confirmed! 🎉. Saved as `confirmationTitle`.
Confirmation MessageMultiline text field in the inspector. block.json default: Thank you! We've received your booking and will send a confirmation email shortly.. Saved as `confirmationMsg`.
Show service selectorOn/off toggle in the inspector. On by default. Saved as `showServiceSelect`.
Show priceOn/off toggle in the inspector. On by default. Saved as `showPrice`.
Time slots (one per line, HH:MM)Multiline text field in the inspector.
Name fieldOn/off toggle in the inspector. On by default. Saved as `showNameField`.
Email fieldOn/off toggle in the inspector. On by default. Saved as `showEmailField`.
Phone fieldOn/off toggle in the inspector. On by default. Saved as `showPhoneField`.
Notes / message fieldOn/off toggle in the inspector. On by default. Saved as `showNotes`.
Form Width (px)Numeric range control in the inspector. Range 360–900. block.json default: 600. Saved as `formWidth`.
Form Radius (px)Numeric range control in the inspector. Range 0–40. block.json default: 20. Saved as `formRadius`.
Input Radius (px)Numeric range control in the inspector. Range 0–24. block.json default: 10. Saved as `inputRadius`.
Calendar Radius (px)Numeric range control in the inspector. Range 0–24. block.json default: 12. Saved as `calendarRadius`.
Form BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `formBg`.
Form BorderColor control in the inspector. block.json default: #e2e8f0. Saved as `formBorder`.
Calendar BackgroundColor control in the inspector. block.json default: #f8fafc. Saved as `calendarBg`.
Calendar Header BGColor control in the inspector. block.json default: #6366f1. Saved as `calendarHeaderBg`.
Calendar Header TextColor control in the inspector. block.json default: #ffffff. Saved as `calendarHeaderColor`.
Selected Day BGColor control in the inspector. block.json default: #6366f1. Saved as `selectedDayBg`.
Selected Day TextColor control in the inspector. block.json default: #ffffff. Saved as `selectedDayColor`.
Time Slot BGColor control in the inspector. block.json default: #f1f5f9. Saved as `slotBg`.
Selected Slot BGColor control in the inspector. block.json default: #6366f1. Saved as `slotSelectedBg`.
Selected Slot TextColor control in the inspector. block.json default: #ffffff. Saved as `slotSelectedColor`.
Input BackgroundColor control in the inspector. block.json default: #f8fafc. Saved as `inputBg`.
Input BorderColor control in the inspector. block.json default: #e2e8f0. Saved as `inputBorder`.
Submit Button BGColor control in the inspector. block.json default: #6366f1. Saved as `btnBg`.
Submit Button TextColor control in the inspector. block.json default: #ffffff. Saved as `btnColor`.
Text ColorColor control in the inspector. block.json default: #0f172a. Saved as `textColor`.
Muted ColorColor control in the inspector. block.json default: #64748b. Saved as `mutedColor`.
Section BackgroundColor control in the inspector. Saved as `sectionBg`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Booking Form block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Booking Form”. It sits under Marketing. After insert, open Form Content and set “Service name”, “Duration (min)”, “Price”, “Form Title”.

What makes Booking Form different from other Blockenberg blocks?

Appointment booking form with calendar date picker, time slot selection, service type and confirmation message. Inspector labels on this block include “Service name”, “Duration (min)”, “Price”, “Form Title”.

Is the Booking Form Gutenberg block free?

Yes. Booking Form ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Booking Form to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Form Content, Services, Time Slots, Form Fields).

Related marketing blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Booking Form from the Gutenberg inserter.

Get Blockenberg