Component Categories
HTML Structure
Html, Head, Body, and Preview components for email structure
Layout
Container, Section, Row, and Column for responsive layouts
Typography
Heading and Text components with email-safe styling
Interactive Elements
Button and Link components for calls-to-action
Media
Img and Hr components for visual elements
All Components
HTML Structure
- Html - Root HTML element with proper DOCTYPE
- Head - Meta tags and email client compatibility settings
- Body - Email body wrapper with table-based layout
- Preview - Preview text shown in email client inbox
Layout Components
- Container - Centered content container (default 600px max-width)
- Section - Semantic section wrapper using table layout
- Row - Horizontal row for multi-column layouts
- Column - Column cell for grid layouts
Typography
- Heading - Configurable heading (h1-h6) with margin utilities
- Text - Paragraph text with email-safe defaults
Interactive
- Button - Call-to-action button with MSO support
- Link - Styled anchor link
Media
- Img - Optimized image with email-safe defaults
- Hr - Horizontal rule divider
Key Features
- Tailwind CSS Support: Use Tailwind utility classes on all components
- Email Client Compatible: Tested across major email clients
- TypeScript First: Full type definitions for all props
- MSO Support: Special handling for Outlook/Microsoft email clients
- Responsive: Mobile-friendly with fluid layouts