Components
A component
Create A component
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create A component
# pnpm
pnpm add @emailux/components
# npm
npm install @emailux/components
# yarn
yarn add @emailux/components
import { A } from "@emailux/a";
export default function EmailTemplate() {
return <>
<A href='#' color='blue'>Docs</A>
</>
}
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| children | any | No | ||
| dir | ”ltr” | “rtl” | No | ”ltr” | Text direction for the content |
| color | string | No | Hex color | |
| noDecoration | boolean | No | false | |
| style | React.CSSProperties | No | ||
| rel | string | No | ’noopener noreferrer’ | |
| spacing | string | No | - | Spacing bottom, and the anchor tag will be a block component if set |