Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.emailux.com/llms.txt

Use this file to discover all available pages before exploring further.

1. Install dependencies

Install the EmailUX Email package locally and a few components.
# pnpm
pnpm add @emailux/components

# npm
npm install @emailux/components

# yarn
yarn add @emailux/components

2. Usage

import { A } from "@emailux/a";

export default function EmailTemplate() {
  return <>
      <A href='#' color='blue'>Docs</A>
  </>
}

Props

NameTypeRequiredDefaultDescription
childrenanyNo
dir”ltr” | “rtl”No”ltr”Text direction for the content
colorstringNoHex color
noDecorationbooleanNofalse
styleReact.CSSPropertiesNo
relstringNo’noopener noreferrer’
spacingstringNo-Spacing bottom, and the anchor tag will be a block component if set