# @react-email/code-inline

> Display a predictable inline code HTML element that works on all email clients

Latest version **0.0.6** (published 2025-12-29) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @react-email/code-inline
pnpm add @react-email/code-inline
yarn add @react-email/code-inline
bun add @react-email/code-inline
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2025-12-29 |
| First published | 2024-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20.0.0 |
| Dependencies | 0 |
| Unpacked size | 11.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | zenorocha, bukinoshita, gabrielmfern |

## Links

- npm: https://www.npmjs.com/package/@react-email/code-inline
- npm.io page: https://npm.io/package/@react-email/code-inline

## Recent versions

- 0.0.6 (latest) — 2025-12-29
- 0.0.6-tailwindv4.0 (tailwindv4) — 2025-10-01
- 0.0.5-canary.1 (canary) — 2024-12-03
- 0.0.5 — 2024-12-03
- 0.0.5-canary.0 — 2024-11-08
- 0.0.4 — 2024-08-22
- 0.0.4-canary.0 — 2024-07-23
- 0.0.3 — 2024-07-23
- 0.0.3-canary.1 — 2024-07-15
- 0.0.3-canary.0 — 2024-07-03
- 0.0.2 — 2024-04-29
- 0.0.1 — 2024-01-19

## README

![React Email code-inline cover](https://react.email/static/covers/code-inline.png)

<div align="center"><strong>@react-email/code-inline</strong></div>
<div align="center">Display a predictable inline code HTML element that works on all email clients.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resendlabs/react-email">GitHub</a>

</div>

## Install

Install component from your command line.

#### With yarn

```sh
yarn add @react-email/code-inline -E
```

#### With npm

```sh
npm install @react-email/code-inline -E
```

## Getting started

Add the component to your email template. Include styles where needed.

```jsx
import { CodeInline } from "@react-email/code-inline";

const Email = () => {
  return <CodeInline>@react-email/code-inline</CodeInline>;
};
```

## Support

This component was tested using the most popular email clients.

| <img src="https://react.email/static/icons/gmail.svg" width="48px" height="48px" alt="Gmail logo"> | <img src="https://react.email/static/icons/apple-mail.svg" width="48px" height="48px" alt="Apple Mail"> | <img src="https://react.email/static/icons/outlook.svg" width="48px" height="48px" alt="Outlook logo"> | <img src="https://react.email/static/icons/yahoo-mail.svg" width="48px" height="48px" alt="Yahoo! Mail logo"> | <img src="https://react.email/static/icons/hey.svg" width="48px" height="48px" alt="HEY logo"> | <img src="https://react.email/static/icons/superhuman.svg" width="48px" height="48px" alt="Superhuman logo"> |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Gmail ✔                                                                                           | Apple Mail ✔                                                                                           | Outlook ✔                                                                                             | Yahoo! Mail ✔                                                                                                | HEY ✔                                                                                         | Superhuman ✔                                                                                                |

## License

MIT License

---
_Source: https://npm.io/package/@react-email/code-inline · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
