Skip to content
You're viewing documentation for v1.0.0. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

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.

Last updated on