Components
Link
A hyperlink to web pages, email addresses, or anything else a URL can address.
Install
Install component from your command line.
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
hrefrequired
string
Link to be triggered when the button is clicked
target
Default: "_blank"string
Specify the target attribute for the button link
Support
All components were tested using the most popular email clients.
Gmail
Apple Mail
Outlook
Yahoo! Mail
HEY
Superhuman