Email components
Combine ordinary HTML JSX with email layout components that generate table structure and Outlook fallbacks from your source.
Import Email, Section, Columns, Column, Button, Spacer, Divider, Image and Link
from @samva/markup/email/components. Use the @samva/markup/email JSX runtime.
Use ordinary supported HTML for headings, paragraphs, lists, links and tables. Use email primitives for layout and button fallbacks. Unsupported elements or attributes fail with diagnostics; scripts, event handlers and unsafe URL schemes are rejected. Input strings remain escaped text.
Components are synchronous TypeScript functions and can accept typed props, import helpers and return JSX. Generated table wrappers retain the authoring call site for source-aware selection. General flex and grid layouts are not automatically converted to email table layouts.
See Authoring in TSX for a complete definition.