[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6PRFG2ZRJCA1WCWMERZ2HB6":3,"skill-same:01M6PRFG2ZRJCA1WCWMERZ2HB6":110},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":14,"repositoryHtmlUrl":66,"repositoryHomepageUrl":6,"ownerHtmlUrl":67,"ownerBlogUrl":68,"ownerDescription":6,"updatedAt":69,"install":70,"resources":83},"01M6PRFG2ZRJCA1WCWMERZ2HB6","react-email",null,"Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.","headmktlucca-ui\u002Fneuroads-lp","headmktlucca-ui","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F247379838?v=4","01M6PDVAV6M1W96D1SR1PDF8CS","NeuroAds","01M6PDVAZ4P281GNDKD45CYTF5",0,"MIT","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freact-email\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000005","邮件与沟通","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"react","react email","email","node","transactional","with","rendering","emails","visual","resend","html","use","github","password","notifications","welcome","component","react components","components","editor","2026-11-10 10:12:30",false,"---\nname: react-email\ndescription: Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.\nlicense: MIT\nmetadata:\n  author: Resend\n  version: \"2.1.0\"\n  homepage: https:\u002F\u002Freact.email\n  source: https:\u002F\u002Fgithub.com\u002Fresend\u002Freact-email\n  openclaw:\n    install:\n      - kind: node\n        package: react-email\n        label: React Email\n    links:\n      repository: https:\u002F\u002Fgithub.com\u002Fresend\u002Freact-email\n      documentation: https:\u002F\u002Fresend.com\u002Fdocs\u002Freact-email-skill\n---\n\n# React Email\n\nBuild and send HTML emails using React components - a modern, component-based approach to email development that works across all major email clients.\n\n## Installation\n\n```sh\nnpm i react-email\n```\n\nOr scaffold a new project:\n\n```sh\nnpx create-email@latest\ncd react-email-starter\nnpm install\nnpm run dev\n```\n\nThis works with any package manager (npm, yarn, pnpm, bun) — substitute accordingly.\n\nThe dev server runs at localhost:3000 with a preview interface for templates in the `emails` folder.\n\n### Adding to an Existing Project\n\nInstall the packages and add a script to your `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"email\": \"email dev --dir emails --port 3000\"\n  }\n}\n```\n\nMake sure the path to the emails folder is relative to the base project directory. Ensure `tsconfig.json` includes proper support for JSX.\n\n## Basic Email Template\n\nCreate an email component with proper structure using the Tailwind component for styling:\n\n```tsx\nimport {\n  Html,\n  Head,\n  Preview,\n  Body,\n  Container,\n  Heading,\n  Text,\n  Button,\n  Tailwind,\n  pixelBasedPreset\n} from 'react-email';\n\ninterface WelcomeEmailProps {\n  name: string;\n  verificationUrl: string;\n}\n\nexport default function WelcomeEmail({ name, verificationUrl }: WelcomeEmailProps) {\n  return (\n    \u003CHtml lang=\"en\">\n      \u003CTailwind\n        config={{\n          presets: [pixelBasedPreset],\n          theme: {\n            extend: {\n              colors: {\n                brand: '#007bff',\n              },\n            },\n          },\n        }}\n      >\n        \u003CHead \u002F>\n        \u003CBody className=\"bg-gray-100 font-sans\">\n          \u003CPreview>Welcome - Verify your email\u003C\u002FPreview>\n          \u003CContainer className=\"max-w-xl mx-auto p-5\">\n            \u003CHeading className=\"text-2xl text-gray-800\">\n              Welcome!\n            \u003C\u002FHeading>\n            \u003CText className=\"text-base text-gray-800\">\n              Hi {name}, thanks for signing up!\n            \u003C\u002FText>\n            \u003CButton\n              href={verificationUrl}\n              className=\"bg-brand text-white px-5 py-3 rounded block text-center no-underline box-border\"\n            >\n              Verify Email\n            \u003C\u002FButton>\n          \u003C\u002FContainer>\n        \u003C\u002FBody>\n      \u003C\u002FTailwind>\n    \u003C\u002FHtml>\n  );\n}\n\n\u002F\u002F Preview props for testing\nWelcomeEmail.PreviewProps = {\n  name: 'John Doe',\n  verificationUrl: 'https:\u002F\u002Fexample.com\u002Fverify\u002Fabc123'\n} satisfies WelcomeEmailProps;\n\nexport { WelcomeEmail };\n```\n\n## Behavioral Guidelines\n\n- When iterating over the code, only update what the user asked for. Keep the rest intact.\n- If the user asks to use media queries, inform them that most email clients don't support them and suggest a different approach.\n- Never use template variables (like `{{name}}`) directly in TypeScript code. Instead, reference the underlying properties directly. If the user explicitly asks for `{{variableName}}`, place the mustache string only in PreviewProps, never in the component JSX:\n\n```typescript\nconst EmailTemplate = (props) => {\n  return (\n    \u003Ch1>Hello, {props.variableName}!\u003C\u002Fh1>\n  );\n}\n\nEmailTemplate.PreviewProps = {\n  variableName: \"{{variableName}}\",\n};\n\nexport default EmailTemplate;\n```\n\n- Never write the `{{variableName}}` pattern directly in the component structure. If the user insists, explain that this would make the template invalid.\n\n## Essential Components\n\nSee [references\u002FCOMPONENTS.md](references\u002FCOMPONENTS.md) for complete component documentation.\n\n**Core Structure:**\n- `Html` - Root wrapper with `lang` attribute\n- `Head` - Meta elements, styles, fonts\n- `Body` - Main content wrapper\n- `Container` - Outermost centering wrapper (has built-in `max-width: 37.5em`). Use only once per email.\n- `Section` - Interior content blocks (no built-in max-width). Use for grouping content inside `Container`.\n- `Row` & `Column` - Multi-column layouts\n- `Tailwind` - Enables Tailwind CSS utility classes\n\n**Content:**\n- `Preview` - Inbox preview text, always first inside `\u003CBody>`\n- `Heading` - h1-h6 headings\n- `Text` - Paragraphs\n- `Button` - Styled link buttons (always include `box-border`)\n- `Link` - Hyperlinks\n- `Img` - Images (see Static Files section below)\n- `Hr` - Horizontal dividers\n\n**Specialized:**\n- `CodeBlock` - Syntax-highlighted code\n- `CodeInline` - Inline code\n- `Markdown` - Render markdown\n- `Font` - Custom web fonts\n\n## Before Writing Code\n\nWhen a user requests an email template, ask clarifying questions FIRST if they haven't provided:\n\n1. **Brand colors** - Ask for primary brand color (hex code like #007bff)\n2. **Logo** - Ask if they have a logo file and its format (PNG\u002FJPG only - warn if SVG\u002FWEBP)\n3. **Style preference** - Professional, casual, or minimal tone\n4. **Production URL** - Where will static assets be hosted in production?\n\n## Static Files and Images\n\n### Directory Structure\n\nLocal images must be placed in the `static` folder inside your emails directory:\n\n```\nproject\u002F\n├── emails\u002F\n│   ├── welcome.tsx\n│   └── static\u002F           \u003C-- Images go here\n│       └── logo.png\n```\n\n### Dev vs Production URLs\n\nUse this pattern for images that work in both dev preview and production:\n\n```tsx\nconst baseURL = process.env.NODE_ENV === \"production\"\n  ? \"https:\u002F\u002Fcdn.example.com\"  \u002F\u002F User's production CDN\n  : \"\";\n\nexport default function Email() {\n  return (\n    \u003CImg\n      src={`${baseURL}\u002Fstatic\u002Flogo.png`}\n      alt=\"Logo\"\n      width=\"150\"\n      height=\"50\"\n    \u002F>\n  );\n}\n```\n\n**How it works:**\n- **Development:** `baseURL` is empty, so URL is `\u002Fstatic\u002Flogo.png` - served by React Email's dev server\n- **Production:** `baseURL` is the CDN domain, so URL is `https:\u002F\u002Fcdn.example.com\u002Fstatic\u002Flogo.png`\n\n**Important:** Always ask the user for their production hosting URL. Do not hardcode `localhost:3000`.\n\n## Styling\n\nSee [references\u002FSTYLING.md](references\u002FSTYLING.md) for comprehensive styling documentation including typography, layout patterns, dark mode, and brand consistency.\n\n### Key Rules\n\n- Use `Tailwind` with `pixelBasedPreset` (email clients don't support `rem`). Import `pixelBasedPreset` from `react-email`.\n- Never use flexbox or grid — use `Row`\u002F`Column` components or tables for layouts.\n- Avoid CSS\u002FTailwind media queries (`sm:`, `md:`, `lg:`, `xl:`) — limited email client support.\n- Never use theme selectors (`dark:`, `light:`) — not supported.\n- Never use SVG or WEBP images — warn users about rendering issues.\n- Always specify border type (`border-solid`, `border-dashed`, etc.) — email clients don't inherit it.\n- For single-side borders, reset others first (`border-none border-l border-solid`).\n\n### Required Classes\n\n| Component | Required Class | Why |\n|-----------|---------------|-----|\n| `Button` | `box-border` | Prevents padding from overflowing the button width |\n| `Hr` \u002F any border | `border-solid` (or `border-dashed`, etc.) | Email clients don't inherit border type |\n| Single-side borders | `border-none` + the side | Resets default borders on other sides |\n\n### Structure Notes\n- Always define `\u003CHead \u002F>` inside `\u003CTailwind>` when using Tailwind CSS\n- `\u003CPreview>` should always be the first element inside `\u003CBody>`\n- Only include props in `PreviewProps` that the component actually uses\n- Use fixed width\u002Fheight for known-size elements (logos, icons); responsive sizing (`w-full`, `h-auto`) for content images\n\n## Rendering\n\n### Convert to HTML\n\n```tsx\nimport { render } from 'react-email';\nimport { WelcomeEmail } from '.\u002Femails\u002Fwelcome';\n\nconst html = await render(\n  \u003CWelcomeEmail name=\"John\" verificationUrl=\"https:\u002F\u002Fexample.com\u002Fverify\" \u002F>\n);\n```\n\n### Convert to Plain Text\n\n```tsx\nconst text = await render(\u003CWelcomeEmail name=\"John\" verificationUrl=\"https:\u002F\u002Fexample.com\u002Fverify\" \u002F>, { plainText: true });\n```\n\n## Sending\n\nReact Email supports sending with any email service provider. See [references\u002FSENDING.md](references\u002FSENDING.md) for complete sending documentation including Resend, Nodemailer, and SendGrid examples.\n\nQuick example using the Resend SDK:\n\n```tsx\nimport { Resend } from 'resend';\nimport { WelcomeEmail } from '.\u002Femails\u002Fwelcome';\n\nconst resend = new Resend(process.env.RESEND_API_KEY);\n\nconst { data, error } = await resend.emails.send({\n  from: 'Acme \u003Conboarding@resend.dev>',\n  to: ['user@example.com'],\n  subject: 'Welcome to Acme',\n  react: \u003CWelcomeEmail name=\"John\" verificationUrl=\"https:\u002F\u002Fexample.com\u002Fverify\" \u002F>\n});\n```\n\nThe Resend Node SDK automatically handles both HTML and plain-text rendering.\n\n## CLI Commands\n\nThe `react-email` package provides a CLI accessible via the `email` command:\n\n| Command | Description |\n|---------|-------------|\n| `email dev --dir \u003Cpath> --port \u003Cport>` | Start the preview development server (default: `.\u002Femails`, port 3000) |\n| `email build --dir \u003Cpath>` | Build the preview app for production deployment |\n| `email start` | Run the built preview app |\n| `email export --outDir \u003Cpath> --pretty --plainText --dir \u003Cpath>` | Export templates to static HTML files |\n| `email resend setup` | Connect the CLI to your Resend account via API key |\n| `email resend reset` | Remove the stored Resend API key |\n\n## Internationalization\n\nSee [references\u002FI18N.md](references\u002FI18N.md) for complete i18n documentation. React Email supports three libraries: next-intl, react-i18next, and react-intl.\n\n## Email Editor\n\nReact Email includes a visual editor (`@react-email\u002Feditor`) that can be embedded in your app. It's built on TipTap\u002FProseMirror and produces email-ready HTML.\n\nSee [references\u002FEDITOR.md](references\u002FEDITOR.md) for complete documentation including:\n- `EmailEditor` — batteries-included component with bubble menus, slash commands, and theming\n- `StarterKit` — 35+ email-aware extensions (headings, lists, tables, columns, buttons, etc.)\n- `Inspector` — contextual sidebar for editing styles\n- `EmailTheming` — built-in themes (`basic`, `minimal`) with customizable CSS properties\n- `composeReactEmail` — export editor content to email-ready HTML and plain text\n- Custom extensions via `EmailNode` and `EmailMark`\n\nQuick example:\n\n```tsx\nimport { EmailEditor, type EmailEditorRef } from '@react-email\u002Feditor';\nimport '@react-email\u002Feditor\u002Fthemes\u002Fdefault.css';\nimport { useRef } from 'react';\n\nexport function MyEditor() {\n  const ref = useRef\u003CEmailEditorRef>(null);\n\n  return (\n    \u003CEmailEditor\n      ref={ref}\n      content=\"\u003Cp>Start typing...\u003C\u002Fp>\"\n      theme=\"basic\"\n    \u002F>\n  );\n}\n```\n\n## Common Patterns\n\nSee [references\u002FPATTERNS.md](references\u002FPATTERNS.md) for complete examples including:\n- Password reset emails\n- Order confirmations with product lists\n- Notification emails with code blocks\n- Multi-column layouts\n- Team invitation emails\n\n## Email Best Practices\n\n1. **Test across email clients** - Gmail, Outlook, Apple Mail, Yahoo Mail\n2. **Keep it responsive** - Max-width around 600px, test on mobile\n3. **Use absolute image URLs** - Host on reliable CDN, always include `alt` text\n4. **Provide plain text version** - Required for accessibility\n5. **Keep file size under 102KB** - Gmail clips larger emails\n6. **Add proper TypeScript types** - Define interfaces for all email props\n7. **Include preview props** - Add `.PreviewProps` for development testing\n8. **Use verified domains** - For production `from` addresses\n\n## Additional Resources\n\n- [React Email Documentation](https:\u002F\u002Freact.email\u002Fdocs\u002Fllms.txt)\n- [React Email GitHub](https:\u002F\u002Fgithub.com\u002Fresend\u002Freact-email)\n- [Resend Documentation](https:\u002F\u002Fresend.com\u002Fdocs\u002Fllms.txt)\n- [Email Client CSS Support](https:\u002F\u002Fwww.caniemail.com)\n- Component Reference: [references\u002FCOMPONENTS.md](references\u002FCOMPONENTS.md)\n- Styling Guide: [references\u002FSTYLING.md](references\u002FSTYLING.md)\n- Email Editor: [references\u002FEDITOR.md](references\u002FEDITOR.md)\n- Sending Guide: [references\u002FSENDING.md](references\u002FSENDING.md)\n- Internationalization Guide: [references\u002FI18N.md](references\u002FI18N.md)\n- Common Patterns: [references\u002FPATTERNS.md](references\u002FPATTERNS.md)\n","# React Email\n\nBuild and send HTML emails using React components - a modern, component-based approach to email development that works across all major email clients.\n\n## Installation\n\n```sh\nnpm i react-email\n```\n\nOr scaffold a new project:\n\n```sh\nnpx create-email@latest\ncd react-email-starter\nnpm install\nnpm run dev\n```\n\nThis works with any package manager (npm, yarn, pnpm, bun) — substitute accordingly.\n\nThe dev server runs at localhost:3000 with a preview interface for templates in the `emails` folder.\n\n### Adding to an Existing Project\n\nInstall the packages and add a script to your `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"email\": \"email dev --dir emails --port 3000\"\n  }\n}\n```\n\nMake sure the path to the emails folder is relative to the base project directory. Ensure `tsconfig.json` includes proper support for JSX.\n\n## Basic Email Template\n\nCreate an email component with proper structure using the Tailwind component for styling:\n\n```tsx\nimport {\n  Html,\n  Head,\n  Preview,\n  Body,\n  Container,\n  Heading,\n  Text,\n  Button,\n  Tailwind,\n  pixelBasedPreset\n} from 'react-email';\n\ninterface WelcomeEmailProps {\n  name: string;\n  verificationUrl: string;\n}\n\nexport default function WelcomeEmail({ name, verificationUrl }: WelcomeEmailProps) {\n  return (\n    \u003CHtml lang=\"en\">\n      \u003CTailwind\n        config={{\n          presets: [pixelBasedPreset],\n          theme: {\n            extend: {\n              colors: {\n                brand: '#007bff',\n              },\n            },\n          },\n        }}\n      >\n        \u003CHead \u002F>\n        \u003CBody className=\"bg-gray-100 font-sans\">\n          \u003CPreview>Welcome - Verify your email\u003C\u002FPreview>\n          \u003CContainer className=\"max-w-xl mx-auto p-5\">\n            \u003CHeading className=\"text-2xl text-gray-800\">\n              Welcome!\n            \u003C\u002FHeading>\n            \u003CText className=\"text-base text-gray-800\">\n              Hi {name}, thanks for signing up!\n            \u003C\u002FText>\n            \u003CButton\n              href={verificationUrl}\n              className=\"bg-brand text-white px-5 py-3 rounded block text-center no-underline box-border\"\n            >\n              Verify Email\n            \u003C\u002FButton>\n          \u003C\u002FContainer>\n        \u003C\u002FBody>\n      \u003C\u002FTailwind>\n    \u003C\u002FHtml>\n  );\n}\n\n\u002F\u002F Preview props for testing\nWelcomeEmail.PreviewProps = {\n  name: 'John Doe',\n  verificationUrl: 'https:\u002F\u002Fexample.com\u002Fverify\u002Fabc123'\n} satisfies WelcomeEmailProps;\n\nexport { WelcomeEmail };\n```\n\n## Behavioral Guidelines\n\n- When iterating over the code, only update what the user asked for. Keep the rest intact.\n- If the user asks to use media queries, inform them that most email clients don't support them and suggest a different approach.\n- Never use template variables (like `{{name}}`) directly in TypeScript code. Instead, reference the underlying properties directly. If the user explicitly asks for `{{variableName}}`, place the mustache string only in PreviewProps, never in the component JSX:\n\n```typescript\nconst EmailTemplate = (props) => {\n  return (\n    \u003Ch1>Hello, {props.variableName}!\u003C\u002Fh1>\n  );\n}\n\nEmailTemplate.PreviewProps = {\n  variableName: \"{{variableName}}\",\n};\n\nexport default EmailTemplate;\n```\n\n- Never write the `{{variableName}}` pattern directly in the component structure. If the user insists, explain that this would make the template invalid.\n\n## Essential Components\n\nSee [references\u002FCOMPONENTS.md](references\u002FCOMPONENTS.md) for complete component documentation.\n\n**Core Structure:**\n- `Html` - Root wrapper with `lang` attribute\n- `Head` - Meta elements, styles, fonts\n- `Body` - Main content wrapper\n- `Container` - Outermost centering wrapper (has built-in `max-width: 37.5em`). Use only once per email.\n- `Section` - Interior content blocks (no built-in max-width). Use for grouping content inside `Container`.\n- `Row` & `Column` - Multi-column layouts\n- `Tailwind` - Enables Tailwind CSS utility classes\n\n**Content:**\n- `Preview` - Inbox preview text, always first inside `\u003CBody>`\n- `Heading` - h1-h6 headings\n- `Text` - Paragraphs\n- `Button` - Styled link buttons (always include `box-border`)\n- `Link` - Hyperlinks\n- `Img` - Images (see Static Files section below)\n- `Hr` - Horizontal dividers\n\n**Specialized:**\n- `CodeBlock` - Syntax-highlighted code\n- `CodeInline` - Inline code\n- `Markdown` - Render markdown\n- `Font` - Custom web fonts\n\n## Before Writing Code\n\nWhen a user requests an email template, ask clarifying questions FIRST if they haven't provided:\n\n1. **Brand colors** - Ask for primary brand color (hex code like #007bff)\n2. **Logo** - Ask if they have a logo file and its format (PNG\u002FJPG only - warn if SVG\u002FWEBP)\n3. **Style preference** - Professional, casual, or minimal tone\n4. **Production URL** - Where will static assets be hosted in production?\n\n## Static Files and Images\n\n### Directory Structure\n\nLocal images must be placed in the `static` folder inside your emails directory:\n\n```\nproject\u002F\n├── emails\u002F\n│   ├── welcome.tsx\n│   └── static\u002F           \u003C-- Images go here\n│       └── logo.png\n```\n\n### Dev vs Production URLs\n\nUse this pattern for images that work in both dev preview and production:\n\n```tsx\nconst baseURL = process.env.NODE_ENV === \"production\"\n  ? \"https:\u002F\u002Fcdn.example.com\"  \u002F\u002F User's production CDN\n  : \"\";\n\nexport default function Email() {\n  return (\n    \u003CImg\n      src={`${baseURL}\u002Fstatic\u002Flogo.png`}\n      alt=\"Logo\"\n      width=\"150\"\n      height=\"50\"\n    \u002F>\n  );\n}\n```\n\n**How it works:**\n- **Development:** `baseURL` is empty, so URL is `\u002Fstatic\u002Flogo.png` - served by React Email's dev server\n- **Production:** `baseURL` is the CDN domain, so URL is `https:\u002F\u002Fcdn.example.com\u002Fstatic\u002Flogo.png`\n\n**Important:** Always ask the user for their production hosting URL. Do not hardcode `localhost:3000`.\n\n## Styling\n\nSee [references\u002FSTYLING.md](references\u002FSTYLING.md) for comprehensive styling documentation including typography, layout patterns, dark mode, and brand consistency.\n\n### Key Rules\n\n- Use `Tailwind` with `pixelBasedPreset` (email clients don't support `rem`). Import `pixelBasedPreset` from `react-email`.\n- Never use flexbox or grid — use `Row`\u002F`Column` components or tables for layouts.\n- Avoid CSS\u002FTailwind media queries (`sm:`, `md:`, `lg:`, `xl:`) — limited email client support.\n- Never use theme selectors (`dark:`, `light:`) — not supported.\n- Never use SVG or WEBP images — warn users about rendering issues.\n- Always specify border type (`border-solid`, `border-dashed`, etc.) — email clients don't inherit it.\n- For single-side borders, reset others first (`border-none border-l border-solid`).\n\n### Required Classes\n\n| Component | Required Class | Why |\n|-----------|---------------|-----|\n| `Button` | `box-border` | Prevents padding from overflowing the button width |\n| `Hr` \u002F any border | `border-solid` (or `border-dashed`, etc.) | Email clients don't inherit border type |\n| Single-side borders | `border-none` + the side | Resets default borders on other sides |\n\n### Structure Notes\n- Always define `\u003CHead \u002F>` inside `\u003CTailwind>` when using Tailwind CSS\n- `\u003CPreview>` should always be the first element inside `\u003CBody>`\n- Only include props in `PreviewProps` that the component actually uses\n- Use fixed width\u002Fheight for known-size elements (logos, icons); responsive sizing (`w-full`, `h-auto`) for content images\n\n## Rendering\n\n### Convert to HTML\n\n```tsx\nimport { render } from 'react-email';\nimport { WelcomeEmail } from '.\u002Femails\u002Fwelcome';\n\nconst html = await render(\n  \u003CWelcomeEmail name=\"John\" verificationUrl=\"https:\u002F\u002Fexample.com\u002Fverify\" \u002F>\n);\n```\n\n### Convert to Plain Text\n\n```tsx\nconst text = await render(\u003CWelcomeEmail name=\"John\" verificationUrl=\"https:\u002F\u002Fexample.com\u002Fverify\" \u002F>, { plainText: true });\n```\n\n## Sending\n\nReact Email supports sending with any email service provider. See [references\u002FSENDING.md](references\u002FSENDING.md) for complete sending documentation including Resend, Nodemailer, and SendGrid examples.\n\nQuick example using the Resend SDK:\n\n```tsx\nimport { Resend } from 'resend';\nimport { WelcomeEmail } from '.\u002Femails\u002Fwelcome';\n\nconst resend = new Resend(process.env.RESEND_API_KEY);\n\nconst { data, error } = await resend.emails.send({\n  from: 'Acme \u003Conboarding@resend.dev>',\n  to: ['user@example.com'],\n  subject: 'Welcome to Acme',\n  react: \u003CWelcomeEmail name=\"John\" verificationUrl=\"https:\u002F\u002Fexample.com\u002Fverify\" \u002F>\n});\n```\n\nThe Resend Node SDK automatically handles both HTML and plain-text rendering.\n\n## CLI Commands\n\nThe `react-email` package provides a CLI accessible via the `email` command:\n\n| Command | Description |\n|---------|-------------|\n| `email dev --dir \u003Cpath> --port \u003Cport>` | Start the preview development server (default: `.\u002Femails`, port 3000) |\n| `email build --dir \u003Cpath>` | Build the preview app for production deployment |\n| `email start` | Run the built preview app |\n| `email export --outDir \u003Cpath> --pretty --plainText --dir \u003Cpath>` | Export templates to static HTML files |\n| `email resend setup` | Connect the CLI to your Resend account via API key |\n| `email resend reset` | Remove the stored Resend API key |\n\n## Internationalization\n\nSee [references\u002FI18N.md](references\u002FI18N.md) for complete i18n documentation. React Email supports three libraries: next-intl, react-i18next, and react-intl.\n\n## Email Editor\n\nReact Email includes a visual editor (`@react-email\u002Feditor`) that can be embedded in your app. It's built on TipTap\u002FProseMirror and produces email-ready HTML.\n\nSee [references\u002FEDITOR.md](references\u002FEDITOR.md) for complete documentation including:\n- `EmailEditor` — batteries-included component with bubble menus, slash commands, and theming\n- `StarterKit` — 35+ email-aware extensions (headings, lists, tables, columns, buttons, etc.)\n- `Inspector` — contextual sidebar for editing styles\n- `EmailTheming` — built-in themes (`basic`, `minimal`) with customizable CSS properties\n- `composeReactEmail` — export editor content to email-ready HTML and plain text\n- Custom extensions via `EmailNode` and `EmailMark`\n\nQuick example:\n\n```tsx\nimport { EmailEditor, type EmailEditorRef } from '@react-email\u002Feditor';\nimport '@react-email\u002Feditor\u002Fthemes\u002Fdefault.css';\nimport { useRef } from 'react';\n\nexport function MyEditor() {\n  const ref = useRef\u003CEmailEditorRef>(null);\n\n  return (\n    \u003CEmailEditor\n      ref={ref}\n      content=\"\u003Cp>Start typing...\u003C\u002Fp>\"\n      theme=\"basic\"\n    \u002F>\n  );\n}\n```\n\n## Common Patterns\n\nSee [references\u002FPATTERNS.md](references\u002FPATTERNS.md) for complete examples including:\n- Password reset emails\n- Order confirmations with product lists\n- Notification emails with code blocks\n- Multi-column layouts\n- Team invitation emails\n\n## Email Best Practices\n\n1. **Test across email clients** - Gmail, Outlook, Apple Mail, Yahoo Mail\n2. **Keep it responsive** - Max-width around 600px, test on mobile\n3. **Use absolute image URLs** - Host on reliable CDN, always include `alt` text\n4. **Provide plain text version** - Required for accessibility\n5. **Keep file size under 102KB** - Gmail clips larger emails\n6. **Add proper TypeScript types** - Define interfaces for all email props\n7. **Include preview props** - Add `.PreviewProps` for development testing\n8. **Use verified domains** - For production `from` addresses\n\n## Additional Resources\n\n- [React Email Documentation](https:\u002F\u002Freact.email\u002Fdocs\u002Fllms.txt)\n- [React Email GitHub](https:\u002F\u002Fgithub.com\u002Fresend\u002Freact-email)\n- [Resend Documentation](https:\u002F\u002Fresend.com\u002Fdocs\u002Fllms.txt)\n- [Email Client CSS Support](https:\u002F\u002Fwww.caniemail.com)\n- Component Reference: [references\u002FCOMPONENTS.md](references\u002FCOMPONENTS.md)\n- Styling Guide: [references\u002FSTYLING.md](references\u002FSTYLING.md)\n- Email Editor: [references\u002FEDITOR.md](references\u002FEDITOR.md)\n- Sending Guide: [references\u002FSENDING.md](references\u002FSENDING.md)\n- Internationalization Guide: [references\u002FI18N.md](references\u002FI18N.md)\n- Common Patterns: [references\u002FPATTERNS.md](references\u002FPATTERNS.md)\n",{"name":5,"license":15,"metadata":52,"description":7},{"author":53,"source":54,"version":55,"homepage":56,"openclaw":57},"Resend","https:\u002F\u002Fgithub.com\u002Fresend\u002Freact-email","2.1.0","https:\u002F\u002Freact.email",{"links":58,"install":60},{"repository":54,"documentation":59},"https:\u002F\u002Fresend.com\u002Fdocs\u002Freact-email-skill",[61],{"kind":30,"label":62,"package":5},"React Email","main","7a940b8e5af16c95e5c190a524421d32fc7445a9",".claude\u002Fskills\u002Freact-email","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui","https:\u002F\u002Fneuroads.com.br","2026-08-12 00:42:44",{"source":8,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add headmktlucca-ui\u002Fneuroads-lp --skill react-email",{"tool":76,"command":77},"bunx","bunx skills add headmktlucca-ui\u002Fneuroads-lp --skill react-email",{"tool":79,"command":80},"pnpm","pnpm dlx skills add headmktlucca-ui\u002Fneuroads-lp --skill react-email","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freact-email\u002FSKILL.md",true,[84,90,94,98,102,106],{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002FCOMPONENTS.md","REFERENCE","参考文档",11117,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freact-email\u002Freferences\u002FCOMPONENTS.md",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002FEDITOR.md",11612,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freact-email\u002Freferences\u002FEDITOR.md",{"path":95,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002FI18N.md",14698,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freact-email\u002Freferences\u002FI18N.md",{"path":99,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002FPATTERNS.md",22633,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freact-email\u002Freferences\u002FPATTERNS.md",{"path":103,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002FSENDING.md",3798,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freact-email\u002Freferences\u002FSENDING.md",{"path":107,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002FSTYLING.md",7445,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freact-email\u002Freferences\u002FSTYLING.md",[111,134,159,185,203,234],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":123,"publishedAt":47},"01M6PTDCZTXTGSTX4RFK901YSZ","xunit-skill","Generates xUnit.net tests in C#. Covers Fact\u002FTheory, constructor injection, IClassFixture, and FluentAssertions. Use when user mentions \"xUnit\", \"[Fact]\", \"[Theory]\", \"Assert.Equal\", \"C# xUnit\". Triggers on: \"xUnit\", \"[Fact]\", \"[Theory]\", \"Assert.Equal C#\", \"xUnit.net\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fxunit-skill\u002FSKILL.md",[117,120],{"categoryNo":118,"categoryName":119,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[124,125,126,127,128,38,129,130,131,132,133],"xunit","xunit skill","testing","injection","user","tests","triggers","unit","unit-testing","C#",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":142,"publishedAt":47},"01M6PTCB59ZTG5FTMWGPYEMMBP","xcuitest-skill","Generates XCUITest UI tests for iOS\u002FiPadOS apps in Swift. Apple's native testing framework for reliable, fast UI automation. Supports local simulators and TestMu AI cloud real devices. Use when user mentions \"XCUITest\", \"XCTest\", \"iOS UI test\", \"Swift test\", \"XCUIApplication\". Triggers on: \"XCUITest\", \"XCTest UI\", \"iOS UI test\", \"Swift UI test\", \"XCUIApplication\", \"TestMu\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fxcuitest-skill\u002FSKILL.md",[140,141],{"categoryNo":118,"categoryName":119,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},[143,144,126,145,146,147,148,149,38,150,151,152,153,154,129,130,155,156,157,158],"xcuitest","xcuitest skill","automation","test","testing framework","ios","devices","mobile","mobile-testing","ui test","local","apple","apps","native","for","objective",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":169,"publishedAt":47},"01M6PTATMNTY9NF4J7KSR76YK6","world-builder","Create and manage generative game zones for Dorothy's Pokemon-style world. Use this skill when creating, updating, or designing game worlds via MCP tools.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fworld-builder\u002FSKILL.md",[165,168],{"categoryNo":166,"categoryName":167,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},[170,171,172,173,174,175,176,177,38,178,179,180,181,182,183,157,184],"builder","world","world builder","MCP","create","mcp tools","Tools","game","pokemon","manage","style","via","theme","zone","generative",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":193,"publishedAt":47},"01M6PT9Z92JTSQEHE1QR0NNW5F","webdriverio-skill","Generates WebdriverIO (WDIO) automation tests in JavaScript or TypeScript. Supports local and TestMu AI cloud. Use when user mentions \"WebdriverIO\", \"WDIO\", \"wdio.conf\", \"browser.url\", \"$\", \"$$\". Triggers on: \"WebdriverIO\", \"WDIO\", \"wdio\", \"browser.$\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwebdriverio-skill\u002FSKILL.md",[191,192],{"categoryNo":118,"categoryName":119,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},[194,126,195,145,196,197,198,199,128,38,200,153,129,130,201,202],"webdriverio skill","typescript","javascript","browser","cloud","e2e","e2e-testing","URL","conf",{"skillNo":204,"name":205,"nameZh":6,"description":206,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":207,"categories":208,"keywords":216,"publishedAt":47},"01M6PT9NVK36ZWCQ69YXK3FR4K","web-design-guidelines","Web platform design and accessibility guidelines. Use when building web interfaces, auditing accessibility, implementing responsive layouts, or reviewing web UI code. Triggers on tasks involving HTML, CSS, web components, WCAG compliance, responsive design, or web performance.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fweb\u002FSKILL.md",[209,210,211],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":166,"categoryName":167,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":212,"categoryName":213,"taxonomyType":214,"taxonomyTypeDesc":215},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[217,218,219,220,221,222,223,45,224,225,226,227,228,229,37,230,231,232,130,233],"design","web","guidelines","web design guidelines","web design","css","performance","web components","tasks","code","web performance","ui","platform design","responsive design","responsive","platform","implementing",{"skillNo":235,"name":236,"nameZh":6,"description":237,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":238,"categories":239,"keywords":242,"publishedAt":47},"01M6PT9A3JKRE3X34276F2FW5R","watchos-design-guidelines","Apple Human Interface Guidelines for Apple Watch. Use when building watchOS apps, complications, or workout features. Triggers on tasks involving Watch UI, Digital Crown, glanceable interfaces, or wrist-based interactions.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwatchos\u002FSKILL.md",[240,241],{"categoryNo":166,"categoryName":167,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":212,"categoryName":213,"taxonomyType":214,"taxonomyTypeDesc":215},[217,219,243,225,228,38,244,245,154,232,246,130,155,247,157,248,249],"watchos design guidelines","workout","human","watch","interface","platform-design","features"]