Email render
UtilShared TypeScript contract for transactional email output: subject, html, and plain-text body. Implement this shape in template modules (e.g. waitlist-email) so mail providers always receive the same fields.
core/email-renderInstallation
1 · Add registry to components.json
2 · Install component
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
subject | string | — | MIME subject line. |
html | string | — | Full HTML body (inline styles, table layout). |
text | string | — | Plain-text alternative for non-HTML clients. |