
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
@react-email/button
Advanced tools

Install component from your command line.
yarn add @react-email/button -E
npm install @react-email/button -E
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>
);
};
| 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 |
This component was tested using the most popular email clients.
| Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |
MIT License
react-email-components is a library that provides a set of React components for building responsive email templates. It includes button components similar to @react-email/button, but offers a broader range of components for complete email design.
mjml-react is a React wrapper for MJML, a markup language designed to reduce the pain of coding responsive emails. It includes button components and allows for more complex email layouts compared to @react-email/button, which focuses specifically on buttons.
react-html-email is a library for creating HTML emails using React components. It includes a button component and provides tools for inline CSS and email-friendly HTML, similar to @react-email/button, but with a focus on the entire email structure.
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.