@email-builder/vue

Vue 3 bindings for the email builder. A thin view layer over @email-builder/engine.
784
Install
npm install @email-builder/vue
Latest Version:0.3.0
Vue:3
License:MIT
Last Updated:Sep 13, 2026
Links: GitHub  ·  npm
Maintainer: anshumankumarkushwaha

@email-builder/vue

A drag-and-drop email editor for Vue 3. Authors build emails from rows and blocks; you get a JSON design to store and email-safe HTML to send.

Part of Email Builder. A React version with the same props is @email-builder/react.

Install

npm i @email-builder/vue @email-builder/styles

Requires Vue 3.4 or later.

Use

<script setup>
import { EmailBuilder } from "@email-builder/vue";
import "@email-builder/styles";

const props = defineProps({ design: Object });

async function saveDesign(doc) {
  await fetch("/api/designs", { method: "POST", body: JSON.stringify(doc) });
}
</script>

<template>
  <div style="height: 100vh">
    <EmailBuilder :document="design" :on-save="saveDesign" @ready="(editor) => console.log(editor.compile().html)" />
  </div>
</template>

The editor fills its container, so give the container a height.

Props and events

Props match @email-builder/react: document, blocks, exclude-blocks, fonts, merge-fields, merge-syntax, adapter, autosave, theme, show-palette, show-inspector, show-toolbar, toolbar-actions, on-save, on-change, on-ready.

Events: save, change, ready, select.

To match your app's colours, see the theming guide.

License

MIT

Related Packages

@naturaldevcr/vue-mail-designer

A visual drag & drop email builder for Vue 3. Exports email-client-compatible HT...

0 0
@templatical/editor

Vue 3 visual drag-and-drop email editor powered by Templatical

160,149 527
@aswin.dev/editor

Vue 3 visual drag-and-drop email editor powered by Templatical

4,314 527
@lab2view/vue-email-editor

Vue 3 drag-and-drop email editor with AI-assisted editing, built on MJML

4,446 15
@lettrove/vue

: the embeddable drag-and-drop email editor and page builder as a Vue 3 componen...

770

Version History

Version Released Vue License
0.3.0 >=3.4 MIT
0.2.1 >=3.4 MIT
0.2.0 >=3.4 MIT
0.1.0 >=3.4 MIT