0.0.18 • Published 8 months ago
@react-email/button v0.0.18
Install
Install component from your command line.
With yarn
yarn add @react-email/button -E
With npm
npm install @react-email/button -E
Getting started
Add the component to your email template. Include styles where needed.
import { Button } from "@react-email/button";
const Email = () => {
return (
<Button href="https://example.com" style={{ color: "#61dafb" }}>
Click me
</Button>
);
};
Props
Name | Type | Default | Description |
---|---|---|---|
href | string | Link to be triggered when the button is clicked | |
target | string | _blank | Specify 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
0.0.18
8 months ago
0.0.18-canary.0
9 months ago
0.0.16-canary.0
12 months ago
0.0.16-canary.1
11 months ago
0.0.17-canary.0
11 months ago
0.0.16
11 months ago
0.0.17
10 months ago
0.0.17-canary.1
11 months ago
0.0.15
1 year ago
0.0.14
1 year ago
0.0.14-canary.0
1 year ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.13
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.3
3 years ago
0.0.5
2 years ago
0.0.4
3 years ago
0.0.6
2 years ago
0.0.2
3 years ago
0.0.1
3 years ago