--- title: "Image" sidebarTitle: "Image" description: "Display an image in your email." "og:image": "https://react.email/static/covers/img.png" icon: "image" --- 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 { Img } from "react-email"; const Email = () => { return Cat; }; ``` All email clients can display `.png`, `.gif`, and `.jpg` images. Unfortunately, `.svg` images are not well supported, regardless of how they're referenced, so avoid using these. See [Can I Email](https://www.caniemail.com/features/image-svg/) for more information. ## Props Alternate description for an image The path to the image The width of an image in pixels The height of an image in pixels