@react-email/code-inline
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

React Email code-inline cover

@react-email/code-inline
Display a predictable inline code HTML element that works on all email clients.

Install

Install component from your command line.

With yarn

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

With npm

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

Getting started

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

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.

Gmail logo Apple Mail Outlook logo Yahoo! Mail logo HEY logo Superhuman logo
Gmail ✔ Apple Mail ✔ Outlook ✔ Yahoo! Mail ✔ HEY ✔ Superhuman ✔

License

MIT License

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.5377,211latest
0.0.5-canary.12canary

Version History

VersionDownloads (Last 7 Days)Published
0.0.5377,211
0.0.5-canary.12
0.0.5-canary.00
0.0.490,601
0.0.4-canary.08
0.0.318,406
0.0.3-canary.10
0.0.3-canary.02
0.0.260,655
0.0.134,097

Package Sidebar

Install

npm i @react-email/code-inline

Weekly Downloads

580,982

Version

0.0.5

License

MIT

Unpacked Size

12.5 kB

Total Files

7

Last publish

Collaborators

  • zenorocha
  • bukinoshita
  • gabrielmfern