Introduction
A small set of cross-client-tested components for building email.
The Unitpost component library is a constrained set of building blocks for email — layout, typography, media, and interactive elements — designed so the same document renders pixel-for-pixel in every inbox, Outlook included. Under the hood each component compiles to the table-based, inline-styled HTML that email clients actually respect, so you never touch archaic markup yourself.
Everything on this page is powered by the `@unitpost/email` package — the exact renderer the send engine uses. Author your email visually in the template editor, or in code using the constrained TSX dialect below; both produce the same document, and the preview you see here is the email your recipients get.
Not React Email
The dialect looks like React, but it's a small, fixed vocabulary (the components below) rather than arbitrary JSX. That constraint is what lets the visual editor and the code editor stay perfectly in sync and guarantees cross-client output.
Insert dynamic data anywhere with `{{variable}}` — it's substituted at send time from the values you pass to the API, a contact's fields, or a campaign default.