I just launched gradients.sh. Come check it out →
Email SDK

Components

The small set of email-safe primitives used by every template.

Use these server-rendered components instead of your app’s browser UI components. They output portable inline HTML without CSS variables, client JavaScript, or Radix dependencies.

ShadcnEmail

The root document supplies preview text, background, font, width, and theme.

theme accepts "light", "dark", or resolved token overrides from createShadcnEmailTheme().

Content primitives

  • EmailCard provides a centered, bordered content surface.
  • EmailHeading sets the primary email heading.
  • EmailText handles readable body copy and muted text.
  • EmailButton renders an inbox-safe link in default or outline style.
  • EmailSeparator adds a portable horizontal rule.

Theme tokens

Pass resolved colors rather than CSS variable expressions because email clients cannot reliably read your application stylesheet.

On this page