---
title: "NPM & Frameworks (Email Editor v3)"
description: "Integrate the Topol Email Editor through the official @topol.io/editor NPM packages, with dedicated components for React, Vue, Svelte, and Angular."
url: https://docs.topol.io/email-editor/v3/guide/js-frameworks.html
---

# NPM Package Integration

> **You are reading the Email Editor v3 docs**
>
> Email Editor v4 is the current version. See [this page in the v4 docs](https://docs.topol.io/email-editor/guide/js-frameworks.html), or [how to upgrade to v4](https://docs.topol.io/email-editor/guide/v4-migration.html).

The plugin loader works in any frontend stack, but loading a script by hand and cleaning it up on unmount is awkward inside a component-based framework. **These packages wrap the loader in a component that follows your framework's lifecycle**, so the editor mounts and tears down with the component that holds it.

> **Create your API token first**
>
> The packages wrap the editor, not the authorization. The editor still needs the **Public API key** from [Step 1 in Getting Started](https://docs.topol.io/email-editor/v3/guide/getting-started.html#step-1-create-your-api-token).

All packages are TypeScript ready and take the same [`TOPOL_OPTIONS`](https://docs.topol.io/email-editor/v3/guide/getting-started.html#step-2-add-the-plugin-to-your-application) configuration as the plain loader, so anything in this guide applies whichever one you pick.

| Package | Framework |
| --- | --- |
| [`@topol.io/editor`](https://www.npmjs.com/package/@topol.io/editor) | Plain JavaScript or TypeScript |
| [`@topol.io/editor-react`](https://www.npmjs.com/package/@topol.io/editor-react) | React |
| [`@topol.io/editor-vue`](https://www.npmjs.com/package/@topol.io/editor-vue) | Vue |
| [`@topol.io/editor-svelte`](https://www.npmjs.com/package/@topol.io/editor-svelte) | Svelte |
| [`@topol.io/editor-angular`](https://www.npmjs.com/package/@topol.io/editor-angular) | Angular |

Installation and usage for each package are documented in its npm README. For Next.js there is a dedicated walkthrough in [Next.js integration](https://docs.topol.io/email-editor/v3/guide/integration-nextjs.html).

> **WARNING**
>
> The v3 packages are `0.x` versions, where minor releases can carry breaking changes. Pin the version you integrate against.

**Version `0.3` of these packages embeds Email Editor v3; version 1 embeds v4.** A plain `npm install` now gives you v1, so pin `0.3` to stay on v3, for example `npm install @topol.io/editor-react@0.3`. To move to v1, see [NPM Packages: Upgrading to v1](https://docs.topol.io/email-editor/guide/npm-v1-migration.html).
