SvelteKit components and utilities for grids, navigation and Payload forms
Email Templates
Composable React Email building blocks and a theme system for transactional emails
Installation
pnpm add @ainsleydev/email-templates About
Email Templates is a set of ready-made React Email components with a theme system for branding. Layout pieces like a base email with logo and footer sit alongside re-exported React Email primitives, so you can build your own transactional emails without repeating styling decisions in each one. A theme sets colours, logo, company name and footer text once, and each email can override only what differs.
The package renders templates to HTML or plain text at runtime, with no separate build step. It also includes a local preview server that serves every template in a folder, which helps when designing emails. Payload users can plug the rendered output into authentication emails such as password reset and account verification.
Package info
- Package name
@ainsleydev/email-templates- Latest version
0.0.4- Unpacked size
- 108 kB
- License
- MIT
- Weekly downloads
- 15
- Last publish
- Jan 28, 2026
More from ainsleydev
View profileCollections, globals, email templates and utilities for common Payload site builds
Shared ESLint flat config for JS and TypeScript, with Payload and Svelte rules
Similar tools
More in Frontend renderingReact hook and refresh component for Payload Live Preview in frontend apps
Vue composable that wires a Payload Live Preview into a Vue frontend
React admin bar that puts Payload editing controls on your frontend pages
Client SDK that streams live Payload draft edits into a frontend preview
Renders Lexical rich text content from Payload in Astro sites
Manifest, linter and Payload block generator for a design system's components