![React Email button cover](https://react.email/static/covers/button.png)
@react-email/button
A link that is styled to look like a button.

Website · GitHub · Discord
## Install Install component from your command line. #### With yarn ```sh yarn add @react-email/button -E ``` #### With npm ```sh npm install @react-email/button -E ``` ## Getting started Add the component to your email template. Include styles where needed. ```jsx import { Button } from "@react-email/button"; const Email = () => { return ( ); }; ``` ## 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 logo | Apple Mail | Outlook logo | Yahoo! Mail logo | HEY logo | Superhuman logo | | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | | Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ | ## License MIT License