You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@react-email/components

Package Overview
Dependencies
20
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/components

A collection of all components React Email.


Version published
Maintainers
3
Created

Package description

What is @react-email/components?

@react-email/components is a collection of React components designed to simplify the creation of responsive and accessible email templates. It provides a set of pre-built components that can be easily customized and integrated into your React projects to create professional-looking emails.

What are @react-email/components's main functionalities?

Button

The Button component allows you to create a clickable button that can be styled and linked to a URL. This is useful for call-to-action buttons in your email templates.

<Button href='https://example.com'>Click Me</Button>

Container

The Container component is used to wrap other components and provide a consistent layout. It helps in structuring the email content in a clean and organized manner.

<Container><Text>Welcome to our newsletter!</Text></Container>

Image

The Image component allows you to include images in your email templates. It supports various attributes like `src` and `alt` to ensure accessibility and proper rendering.

<Image src='https://example.com/image.jpg' alt='Example Image' />

Text

The Text component is used to add text content to your email templates. It supports various styling options to customize the appearance of the text.

<Text>This is a sample text.</Text>

Heading

The Heading component allows you to add headings to your email templates. It supports different levels (e.g., h1, h2) to create a hierarchical structure in your content.

<Heading level={1}>Welcome!</Heading>

Other packages similar to @react-email/components

Readme

Source

React Email components cover

@react-email/components
A collection of all components React Email.

Website · GitHub · Discord

Install

Install component from your command line.

With yarn
yarn add @react-email/components -E
With npm
npm install @react-email/components -E

Getting started

Add the component to your email template. Include styles where needed.

import { Heading } from "@react-email/components";

const Email = () => {
  return <Heading as="h1">Lorem ipsum</Heading>;
};

Support

This component was tested using the most popular email clients.

Gmail logoApple MailOutlook logoYahoo! Mail logoHEY logoSuperhuman logo
Gmail ✔Apple Mail ✔Outlook ✔Yahoo! Mail ✔HEY ✔Superhuman ✔

License

MIT License

Keywords

FAQs

Package last updated on 03 Jul 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc