Email clients have this concept of “preview text” which gives insight into
what’s inside the email before you open. A good practice is to keep that text
under 90 characters.
Install
Install component from your command line.
npm install @react-email/components -E
# or get the individual package
npm install @react-email/preview -E
Getting started
Add the component to your email template. Include styles where needed.
import { Preview } from "@react-email/components";
const Email = () => {
return <Preview>Email preview text</Preview>;
};
Support
All components were tested using the most popular email clients.