Pular para o conteúdo
Kitbay
Skill1.1.0

react-email

MITAtualizado em 11 de nov. de 202640.319Estrelas no GitHub

A skill credited to Resend, kept in Novu's repository, for building HTML emails as React components with the React Email library so they display correctly across email clients.

O que a skill ensina

A skill credited to Resend, kept in Novu's repository, for building HTML emails as React components with the React Email library so they display correctly across email clients. It covers scaffolding a project or adding React Email to an existing one, the structural, content and code block components, and asking for brand colour, logo, tone and the image host before writing typed templates with preview props. Templates can be rendered to HTML or plain text and sent through any provider, with Resend as the example. Rules ask for inline styles unless the project uses Tailwind, pixel sizes, table layouts, no flexbox, grid, media queries, SVG or WEBP, absolute image URLs with alt text and a plain-text version.

O que faz

  • Write email templates as React components
  • Render templates to HTML and plain text
  • Lay out emails that work across email clients
  • Send rendered emails through a provider