Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-email/container

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/container

A layout component that centers all the email content

  • 0.0.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
415K
decreased by-0.83%
Maintainers
3
Weekly downloads
 
Created

What is @react-email/container?

@react-email/container is a React component library designed to help developers create responsive email templates with ease. It provides a set of components that can be used to structure and style email content, ensuring compatibility across various email clients.

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

Container Component

The Container component is used to wrap the main content of the email, providing a consistent layout and styling.

<Container>
  <p>Your email content goes here</p>
</Container>

Responsive Design

The Container component supports responsive design, allowing you to set styles such as max-width and margin to ensure the email looks good on different screen sizes.

<Container style={{ maxWidth: '600px', margin: '0 auto' }}>
  <p>Your responsive email content goes here</p>
</Container>

Custom Styling

You can apply custom styles to the Container component to match your email's design requirements, such as background color and padding.

<Container style={{ backgroundColor: '#f0f0f0', padding: '20px' }}>
  <p>Your custom styled email content goes here</p>
</Container>

Other packages similar to @react-email/container

Keywords

FAQs

Package last updated on 22 Aug 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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc