JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2098420
  • Score
    100M100P100Q197602F
  • License MIT

Contains head components, related to the document such as style and meta elements

Package Exports

  • @react-email/head
  • @react-email/head/dist/index.js
  • @react-email/head/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@react-email/head) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Email button cover

@react-email/head
Contains head components, related to the document such as style and meta elements.

Install

Install component from your command line.

With yarn

yarn add @react-email/head -E

With npm

npm install @react-email/head -E

Getting started

Add the component to your email template. Include children tags where needed.

import { Head } from '@react-email/head';

const Email = () => {
  return (
    <Head>
      <title>My email title</title>
    </Head>
  );
};

License

MIT License