1. Install dependencies
Install the EmailUX Email package locally and a few components.2. Usage
Props
All other standard Head attributes for the
<head> element are supported.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create Head wrapper component
# pnpm
pnpm add @emailux/components
# npm
npm install @emailux/components
# yarn
yarn add @emailux/components
import { Head } from " @emailux/components";
export default function EmailTemplate() {
return <Head>
<title>Some title</title>
</Head>;
}
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| children | React.ReactNode | Yes | — | Content of the email document |
| title | React.ReactNode | No | — | Title |
| defaultCss | string | No | Pre-written CSS for email | You can replace this with your own css |
<head> element are supported.