---
title: Email UI
description: Browse complete, email-safe templates by the job they need to do.
sidebar:
  icon: "at-sign"
---

Start with a real email, see the rendered result, then copy the TSX into `src/ui/email`. Every example uses the same small set of Email SDK React components and works with any adapter after rendering.



The live version of this content is at https://email-sdk.dev/docs/ui.



## Add a template

Open any template above and run its registry command. The command adds the email component to `src/ui/email` and installs Email SDK, React Email, and React dependencies when they are missing.

```bash
bunx shadcn@latest add https://email-sdk.dev/r/verification-code.json
```

Then render the installed component with `renderEmail` and pass the returned `html` and `text` through your normal Email SDK client.

```tsx
import { renderEmail } from "@opencoredev/email-sdk/react";

const content = await renderEmail(<WelcomeEmail name="Ada" />);

await email.send({
  from: "Acme <hello@acme.com>",
  to: "ada@example.com",
  subject: "Welcome to Acme",
  ...content,
});
```

Routing, retries, fallback, scheduling, hooks, and telemetry still use the normal send pipeline.
