---
title: "HTML"
sidebarTitle: "HTML"
description: "A React html component to wrap emails."
"og:image": "https://react.email/static/covers/html.png"
icon: "file-code"
---
import Support from '/snippets/support.mdx'
## Install
Install component from your command line.
```sh npm
npm install react-email -E
```
```sh yarn
yarn add react-email -E
```
```sh pnpm
pnpm add react-email -E
```
## Getting started
Add the component to your email template. Include styles where needed.
```jsx
import { Html, Button } from "react-email";
const Email = () => {
return (
);
};
```
## Props
Identify the language of text content on the email
Identify the direction of text content on the email
When customizing `lang` and/or `dir`, you should set the same values on the
[`Body`](/components/body) component. Some email clients strip the `html` or
`body` tags, so it's necessary to have both.