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

43 lines
663 B
Plaintext

---
title: 'Code Inline'
sidebarTitle: 'Code Inline'
description: 'Display a predictable inline code HTML element that works on all email clients.'
icon: 'code'
---
import Support from '/snippets/support.mdx'
## Install
Install the 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 { CodeInline } from "react-email";
const Email = () => {
return <CodeInline>@react-email/code-inline</CodeInline>;
}
```
<Support/>