Files
2026-04-13 18:24:12 -03:00

50 lines
890 B
Plaintext

---
title: "Preview"
sidebarTitle: "Preview"
description: "A preview text that will be displayed in the inbox of the recipient."
"og:image": "https://react.email/static/covers/preview.png"
icon: "input-text"
---
import Support from '/snippets/support.mdx'
<Info>
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.
</Info>
## Install
Install component from your command line.
<CodeGroup>
```sh npm
npm install react-email -E
```
```sh yarn
yarn add react-email -E
```
```sh pnpm
pnpm add react-email -E
```
</CodeGroup>
## Getting started
Add the component to your email template. Include styles where needed.
```jsx
import { Preview } from "react-email";
const Email = () => {
return <Preview>Email preview text</Preview>;
};
```
<Support/>