Create beautiful emails in Svelte with first-class Tailwind support
See the documentation for a complete guide on how to use Better Svelte Email.
See Roadmap for future features and planned improvements.
Existing Svelte email solutions have significant limitations:
Better Svelte Email is a complete rewrite of svelte-email-tailwind inspired by React Email, providing the rock-solid foundation your email infrastructure needs. It brings the simplicity, reliability, and feature richness of React Email to the Svelte ecosystem.
The minimum supported Svelte version is 5.14.3.
For older versions, you can use svelte-email-tailwind.
bg-[#fff], my:[40px], ...)class={someVar})sm:, md:, lg:, xl:, 2xl:){#each}) and if blocks ({#if}), and moreAnatole Dufour (@Konixy)
svelte-email-tailwindSteven Polak (@steveninety)
react-emailBu Kinoshita (@bukinoshita)
Zeno Rocha (@zenorocha)
bun run test
All tests must pass before pushing to main. The CI/CD pipeline will automatically run tests on every push and pull request.
bun run build
Contributions are welcome! Please feel free to submit a Pull Request.
To do so, you'll need to:
git checkout -b feat/amazing-feature)bun run test)feat: - New featuresfix: - Bug fixesdocs: - Documentation changestest: - Test additions/changeschore: - Maintenance tasksgit push origin feat/amazing-feature)Many components and logic were inspired by or adapted from svelte-email-tailwind and react-email. Huge thanks to the authors and contributors of these projects for their excellent work.