Email Theme

Your shadcn theme for emails: paste the :root and .dark blocks of your globals.css, and every email uses the same colour names as your app, turned into values mail apps can read.

Usage docs and preview are being generated by the coding agent. Registry metadata is shown meanwhile.
lib · no preview
A lib has nothing to render, so there is no live preview.
See how it was built

Installation

pnpm dlx shadcn@latest add @dashboardblocks/email-theme

Requires @dashboardblocks in the registries of your components.json (shadcn adds official directory namespaces automatically).

Use with Coding Agent

Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.

prompt.md
Use the "Email Theme" component (dashboardblocks/email-theme) from its shadcn registry.1. Install it with: npx shadcn@latest add @dashboardblocks/email-theme2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.

Files & dependencies

  • registry/lib/dashboardblocks/email-theme.ts→ @lib/dashboardblocks/email-theme.ts
dependenciesreact-email

Looks similar, elsewhere

There is no screenshot of this item to compare yet.