Skip to main content

Embed a floor plan in your page

With a frontend SDK

The easiest way to show a chart is to use one of our frontend SDKs:

Without a frontend SDK

If we don't offer an SDK for your frontend framework, you can embed a chart using plain HTML and JS.

  1. Insert one of following scripts in your HTML page (for instance inside <head>) based on your account region:

    • Europe:
      <script src=""></script>
    • North America:
      <script src=""></script>
    • South America:
      <script src=""></script>
    • Oceania:
      <script src=""></script>
  2. Add an empty element to your page to act as a container for the embed, for instance:

    <div id="chart"></div>
  3. Add the following snippet at the end of the HTML page:

    new seatsio.SeatingChart({
    divId: 'chart',
    workspaceKey: 'PUBLIC_WORKSPACE_KEY',
    event: 'EVENT_KEY'


    • PUBLIC_WORKSPACE_KEY is your public workspace key, found at your accounts Workspace Settings.
    • EVENT_KEY is the floor plans event you want to display.

Below you will find a live example of this.

Type definitions

As of October 2023, we ship our own type definitions package for, @seastsio/seastsio-types. If you have been using @types/seatsio, that package is now deprecated and we recommend that you switch to the new package.

If you use our React SDK, we ship that with types from version 14 onwards. Your IDE should automatically pick up on those and provide suggestions:

Suggestions from type definitions

Install types manually

If you have a TypeScript project and you are using without a frontend SDK, you can add the typings yourself:

  1. Install @seatsio/seatsio-types as a dev dependency
  2. In your tsconfig.json file, make sure that typeRoots includes "node_modules/@seatsio/seatsio-types"

That's it! You should now be able to use with type checks and suggestions.