React Email compositions with Control UI colors and typography: contained or plain surfaces, column layouts, themed markdown and code, and a footer with social icons, address, and unsubscribe parts.
Examples
Announcement
Centered marketing send: logo masthead, hero image, a three-column highlight row, and a centered footer.
Release notes
Versioned changelog bullets plus an EmailMarkdown migration note and a themed EmailCodeBlock snippet.
Image and text
Two-column EmailColumns layout with a percentage-width image beside the story.
Summary
Metric row centered inside a panel, above EmailDetailRow lines for a recurring digest.
Verification code
Centered transactional send: EmailOneTimeCode for the code, and a footer that identifies the sender without an unsubscribe link.
Receipt
Compact heading, an EmailInlineCode order number, and order lines with an emphasized total inside an EmailPanel.
Composition
Email layout
Img comes from React Email. EmailColumns stacks its columns on narrow screens.
- <EmailLayout>
- <EmailHeader>
- <EmailLogo />
- <EmailBrowserLink />
- <EmailSection>
- <EmailHeading />
- <EmailText>
- <EmailLink />
- <EmailInlineCode />
- <EmailPanel>
- <EmailDetailRow />
- <EmailDivider />
- <EmailBulletList />
- <EmailOneTimeCode />
- <EmailMarkdown />
- <EmailCodeBlock />
- <EmailButton />
- <EmailColumns>
- <Img />
- <EmailSection />
- <EmailHeader>
Footer
EmailUnsubscribe belongs to marketing sends; transactional messages keep the sender identity and address only.
- <EmailFooter>
- <EmailSocialLinks>
- <EmailMutedLink />
- <EmailFooterLinks />
- <EmailCaption />
- <EmailAddress />
- <EmailUnsubscribe />
- <EmailFooterLegal />
- <EmailSocialLinks>
Installation
Use this command to install the component.
Usage
Dependencies
src/registry/sources/control-ui/email/README.mdSupportsrc/registry/sources/control-ui/email/email-brand.tsxSupportsrc/registry/sources/control-ui/email/email-code.tsxSupportsrc/registry/sources/control-ui/email/email-footer.tsxSupportsrc/registry/sources/control-ui/email/length.tsSupportsrc/registry/sources/control-ui/email/templates.tsxSupportsrc/registry/sources/control-ui/email/theme.tsSupportRaw code
Installed component source and support files