sdk

Drag-and-drop email editor. JSON templates, MJML rendering, framework-agnostic. Vue + TipTap inside. Source-available under FSL-1.1-MIT — free commercially, MIT

What is sdk?

Drag-and-drop email editor. JSON templates, MJML rendering, framework-agnostic. Vue + TipTap inside. Source-available under FSL-1.1-MIT — free commercially, MIT after 2 years.

Overview of sdk

What it is

Templatical is a production-ready drag-and-drop email editor that can be embedded into any web application with a single function call. Templates are stored as portable JSON and rendered to MJML, which compiles to the table-based HTML expected by email clients. The editor is framework-agnostic: it uses Vue and TipTap internally but can be integrated into React, Svelte, Angular, or vanilla JavaScript. It is source-available under the FSL-1.1-MIT license, meaning it is free for commercial use and becomes MIT after two years.

Key features

  • Custom blocks with API-backed data sources: register block types that render from static templates or fetch live data at preview time.
  • Merge tags in various syntaxes (Handlebars, Liquid, JS) with automatic human-readable label replacement in the editor canvas.
  • Display conditions to show or hide blocks based on recipient attributes, with live preview.
  • Reusable saved blocks with search, preview, rename, and delete; storage is provided via a small provider interface.
  • Version history to browse, preview, and restore past template versions.
  • Full theming via design tokens: color tokens, custom fonts, dark mode, and complete theme overrides.
  • Drop-in mount with a single init() call and unmount(); style isolation via Shadow DOM and a tpl: Tailwind prefix.

Use cases

Templatical is suitable for any application that needs to create, edit, and manage email templates. It can be used by SaaS platforms to offer a drag-and-drop email builder to their users, by marketing teams to design branded campaigns, or by developers who want to integrate email template editing into a CMS or custom tool. The JSON template format makes it easy to store, version, and render templates anywhere, and the MJML output works with any email delivery service.

Getting started

bashnpm install @templatical/editor @templatical/renderer``````jsimport { init } from '@templatical/editor';import '@templatical/editor/style.css';const editor = await init({ container: '#editor', onChange(content) { console.log('Template updated:', content); },});const mjml = await editor.toMjml();

License and pricing

The editor packages (@templatical/editor, @templatical/core, @templatical/media-library) are licensed under FSL-1.1-MIT, which allows free commercial use and converts to MIT after two years. Other packages (@templatical/types, @templatical/renderer, @templatical/quality, @templatical/template-tools, and all import converters) are licensed under MIT. The project is open source and free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/templaticalsdk.svg)](https://yunodb.com/tools/templaticalsdk?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/templaticalsdk?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/templaticalsdk.svg" alt="Featured on YunoDB" height="20"></a>