dragble-vue-editor

Vue 3 email builder SDK for your SaaS

dragble-vue-editor is a typed Vue 3 component that puts a drag-and-drop email builder inside your SaaS. Import it into a single-file component, pass an editor key, and your users design emails under your brand.

Props, emits, a composable and TypeScript types — plus a sandboxed canvas that your scoped styles cannot reach. The same component covers email, landing page and popup modes.

Get started

Install and mount the editor

Install the package, pass an editor key, and mount the component in a container element. The editor renders inside a sandboxed iframe, so your application CSS cannot leak in and break the canvas.

Terminal

npm install dragble-vue-editor

Vue 3 component

<script setup lang="ts">
import { DragbleEditor } from "dragble-vue-editor";
</script>

<template>
  <DragbleEditor
    editor-key="YOUR_EDITOR_KEY"
    editor-mode="email"
    min-height="600px"
    @change="(data) => console.log(data.design)"
    @error="(error) => console.error(error)"
  />
</template>

What you get

Built for Vue 3 products

Vue 3 component with script setup support

Import DragbleEditor into a single-file component and use it in your template. Props come through as attributes, events come through as emits, and TypeScript works in script setup without extra configuration.

A composable for the editor instance

useDragbleEditor() gives you the editor reference, an isReady flag and a container id in one call — useful when you want to drive export or save from outside the component tree without reaching into template refs.

Sandboxed canvas, isolated from your styles

The editor renders in its own isolated container, so scoped styles, Tailwind or a global reset cannot distort the design canvas. Your users see your chrome around an editor that stays pixel-correct.

Three modes from one component

Set editorMode to email, page or popup. Email exports table-based HTML with inline CSS for inbox clients; page exports full-width HTML; popup exports a modal or an embeddable fragment.

Works in Nuxt

Because the editor mounts on the client, wrap it in a client-only boundary in Nuxt and pass min-height to control layout. No SSR shims are required beyond that.

Agent access through MCP

The same editor session can be driven by an AI agent through the MCP server using structured tools, so a Vue app can offer an AI copilot without generating design JSON yourself.

FAQ

Questions about the Vue email builder SDK

Straightforward answers on SDK embedding, white-labeling, MCP agent tooling, email client compatibility, and pricing.

Install dragble-vue-editor, import DragbleEditor into your single-file component, and pass editor-key and editor-mode. Listen for the change event to persist the design JSON, and use a template ref to call exportHtml() or loadDesign().

Ship an editor this week

Free plan, no credit card. Email, page and popup builders from one Vue 3 package.