0.0.8 • Published 10 days ago

@react-email/link v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
10 days ago

React Email link cover

Install

Install component from your command line.

With yarn

yarn add @react-email/link -E

With npm

npm install @react-email/link -E

Getting started

Add the component to your email template. Include styles where needed.

import { Link } from "@react-email/link";

const Email = () => {
  return <Link href="https://example.com">Example</Link>;
};

Props

NameTypeDefaultDescription
hrefstringLink to be triggered when the button is clicked
targetstring_blankSpecify the target attribute for the button link

Support

This component was tested using the most popular email clients.

Gmail ✔Apple Mail ✔Outlook ✔Yahoo! Mail ✔HEY ✔Superhuman ✔

License

MIT License