better-svelte-email
v2.1.1
Published
Svelte email renderer with Tailwind support
Maintainers
Readme
better-svelte-email
[!WARNING] Compatibility package: this npm name exists mainly for a single-install workflow. It re-exports
@better-svelte-email/serverand@better-svelte-email/components, and depends on@better-svelte-email/previewso versions stay aligned. It does not add its own runtime beyond those re-exports.Maintenance: active development targets the scoped packages below. This meta-package may receive less attention over time and is not guaranteed to track every new export from the underlying packages—prefer depending on
@better-svelte-email/*directly when you want the clearest upgrade path.
Published meta-package for Better Svelte Email: render Svelte 5 email templates to HTML with Tailwind CSS inlined for email clients, plus optional preview and send helpers.
The published main entry re-exports components plus Renderer, toPlainText, and related types from the server package. Import preview and SvelteKit helpers from @better-svelte-email/preview directly. For maximal control you can depend on the scoped packages only and skip this meta-package.
Documentation
Full usage, guides, and examples: better-svelte-email.konixy.dev
Install
npm i better-svelte-emailMinimum Svelte version: 5.14.3.
What you get
From better-svelte-email (main export):
RendererandtoPlainText— server-side HTML (+ optional plain text) from.sveltetemplates, with Tailwind inlined for email clients- Email layout components —
Html,Body,Container,Section,Text,Button, … (same as@better-svelte-email/components)
From @better-svelte-email/preview (installed as a dependency; import this module name):
EmailPreview,createEmail,sendEmail,emailList, … for local preview and test sends in SvelteKit
Monorepo
Source: github.com/Konixy/better-svelte-email — this directory is packages/better-svelte-email.
License
MIT
