Templates
Content & assetsTemplates
Start from a template instead of a blank canvas, a built-in library, or your own.
The editor ships starter designs (newsletters, receipts, welcome series, announcements). Open the template picker to choose one, or seed the editor programmatically:
import { createStarterDesign } from "email-craft-sdk";
ref.current.editor.loadDesign(createStarterDesign());Your team can also save designs as reusable templates from the dashboard's Templates gallery, see load & save.
The built-in library
The editor ships 48 starter emails in 16 categories, among them Transactional, SaaS, Ecommerce, Events and Seasonal. The picker searches template names, categories and descriptions.
Picking a template replaces everything on the canvas. If the canvas has content, the editor asks first, and one undo brings your old design back. A template that holds a block the current plan does not allow is refused, with a message naming the block.
Load one from code
createStarterDesign() returns one simple layout. The full library is exported as starterTemplates, an array of { id, name, category, description, design }:
import { starterTemplates } from "email-craft-sdk";
const welcome = starterTemplates.find((t) => t.id === "welcome-series");
if (welcome) ref.current.editor.loadDesign(welcome.design);To let users drop one of their own saved emails into a design, see the Templates block.