Skip to content

zkm/email-templates

Repository files navigation

HTML Email Templates

MIT License Build Status Node Version

HTML Email Templates

Demo

Live Preview

A small React 19 + Vite 7 app that previews a collection of email templates. The templates live in src/components/templates and are imported as raw strings using Vite's ?raw query inside TemplateDemo.jsx.

Requirements

  • Node.js 18+ (recommended 20+)
  • Your choice of package manager (Yarn, npm, pnpm)

Quick start

Using Yarn:

yarn install
yarn dev

Using npm:

npm install
npm run dev

Build and preview

Yarn:

yarn build
yarn preview

npm:

npm run build
npm run preview

Where things are

  • src/components/TemplateDemo.jsx — the preview UI that loads templates via ?raw and renders them in a sandboxed iframe
  • src/components/templates/ — email HTML templates and a shared default_style.css

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Collection of customized email templates with a React demo app for preview and management.

Topics

Resources

License

Security policy

Stars

Watchers

Forks