Booking Widget Documentation

Add online table reservations to any website

Embed the TABLE214 booking widget in minutes with a single snippet. Browse integration examples for HTML, React, and Vite, then try the live demo to experience the booking flow exactly as your guests will.

Configure it, then copy the code for your stack

Change the settings on the left and watch the live preview and every code example update instantly.

Customize
How it appears
Position on the page
Theme
Brand color
‹ ›
www.yourbite.com
Size: floating | Position: bottom-right | Theme: light | Primary: #da3743 | Font: inherited
<!-- Point widgetOrigin at this script's environment: localhost in dev,
otherwise your production domain. -->
<div
data-t214-widget
data-slug="de-gouden-lepel"
data-size="floating"
data-theme="light"
data-primary-color="#da3743"
data-button-label="Book a table"
data-position="bottom-right"
data-button-color="#da3743"
data-inherit-font="true"
></div>
<script src="https://table214.com/widget-embed.js" async></script>
How it works

Three steps to a working widget

No build step required — drop the snippet in, point it at your restaurant, and listen for booking events.

1

Drop in a snippet

Add a <div data-t214-widget> with your restaurant's slug and a single <script> tag — no dependencies, works in any HTML, React, or Vite site.

2

Renders as a scoped iframe

The script reads the element's data-* attributes and mounts a sandboxed iframe pointed at your restaurant's booking page — styled to match your brand colors and theme.

3

Listen for booking events

Subscribe to window.postMessage events (or the t214:booking-confirmed custom event) to react when a guest completes a reservation.