
Research
Security News
Malicious npm Package Wipes Codebases with Remote Trigger
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
@react-email/tailwind
Advanced tools
Install component from your command line.
yarn add @react-email/tailwind -E
npm install @react-email/tailwind -E
Add the component to your email template. Include styles where needed.
import { Button } from '@react-email/button';
import { Tailwind } from '@react-email/tailwind';
const Email = () => {
return (
<Tailwind
config={{
theme: {
extend: {
colors: {
'custom-color': '#ff0000',
},
},
},
}}
>
<Button
href="https://example.com"
className="text-custom-color bg-white mx-auto"
>
Click me
</Button>
</Tailwind>
);
};
This component was tested using the most popular email clients.
Gmail โ | Apple Mail โ | Outlook โ | Yahoo! Mail โ | HEY โ | Superhuman โ |
MIT License
FAQs
A React component to wrap emails with Tailwind CSS
The npm package @react-email/tailwind receives a total of 630,690 weekly downloads. As such, @react-email/tailwind popularity was classified as popular.
We found that @react-email/tailwind demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 3 open source maintainers collaborating on the project.
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.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.
Security News
New CNA status enables OpenJS Foundation to assign CVEs for security vulnerabilities in projects like ESLint, Fastify, Electron, and others, while leaving disclosure responsibility with individual maintainers.