grapesjs-studio-sdk

Installation
SKILL.md

GrapesJS Studio SDK

GrapesJS Studio SDK is a fully customizable visual builder you can embed in your app to create:

  • Website and landing pages
  • Newsletters and email content
  • Document editor

Use this skill for setup, configuration, plugin integration, and project type implementation.

Installation

npm i @grapesjs/studio-sdk

Initial Editor Load

React:

import StudioEditor from "@grapesjs/studio-sdk/react";
import "@grapesjs/studio-sdk/style";
// ...
<StudioEditor
  options={{
    licenseKey: "LOCAL_LICENSE_KEY",
    project: {
      type: "web", // 'email' | 'document'
    },
  }}
/>;

JavaScript (other frameworks or vanilla):

import createStudioEditor from "@grapesjs/studio-sdk";
import "@grapesjs/studio-sdk/style";
// ...
createStudioEditor({
  licenseKey: "LOCAL_LICENSE_KEY",
  project: {
    type: "web", // 'email' | 'document'
  },
});

License Key Behavior

  • On localhost, any string is valid for local development.
  • On non-localhost domains, a valid licenseKey is required. More info: rules/overview/licenses.md

Project Types

After the initial setup and project-type choice, configure persistence next:

To make the editor fully functional, the next important step is persistence: define how projects are loaded and saved, and how uploaded assets are stored and retrieved.

Configuration

Plugins

Installs
68
GitHub Stars
4
First Seen
Mar 20, 2026