Component Types
The Email Builder provides two categories of components: built-in blocks and custom library components.Structure Components
Structure components define the layout of your email:1 Column Row
Description: Full-width single column layout Use case:- Hero images
- Large headlines
- Full-width content sections
- Width: 100% of email container (600px)
- Automatically stacks on mobile
2 Column Row
Description: Split layout with two equal columns Use case:- Image + text combinations
- Side-by-side product features
- Comparison layouts
- Desktop: Each column is 50% width (300px)
- Mobile: Stacks vertically
3 Column Row
Description: Three equal columns for grid layouts Use case:- Product showcases
- Feature grids
- Icon + text cards
- Desktop: Each column is 33.33% width (200px)
- Mobile: Stacks vertically
Content Components
Title
Description: Large heading text for section headers Properties:- Content - Rich text editable inline
- Alignment - Left, Center, Right, Justify
- Font Size - 16px to 32px (default: 24px)
- Color - Inherits from theme Primary color
- Click into the title to edit text
- Use alignment buttons below the block
- Select font size from dropdown
- Insert FontAwesome icons using icon picker
Text
Description: Paragraph content with rich text editing Properties:- Content - Rich text editable inline
- Alignment - Left, Center, Right, Justify
- Font Size - 16px to 32px (default: 18px)
- Color - Inherits from theme Text color
- Supports basic HTML formatting (bold, italic, links)
- Can include inline FontAwesome icons
- Maintains formatting in exported HTML
List
Description: Bulleted or numbered list items Properties:- Items - One item per line in textarea
- Alignment - Left, Center, Right
- Color - Inherits from theme Text color
Image
Description: Upload and display images from Supabase storage Properties:- URL - Image URL (from Supabase or external)
- Alt Text - Accessibility description (set in component)
- Width - Auto-sized to fit column
Upload or Select
- Upload new image from your computer
- Or select existing image from Supabase storage
Images are stored in the
email bucket in Supabase Storage. Ensure images are publicly accessible.Button
Description: Call-to-action button with link Properties:- Text - Button label
- URL - Link destination
- Color - Background color (defaults to Primary theme)
- Border Radius - Rounded corners (24px)
- Padding - Internal spacing (12px 32px)
- Enter button text in first input field
- Enter full URL (including https://) in second field
- Button automatically uses theme primary color
- Use clear, action-oriented text (“Shop Now”, “Learn More”)
- Always include https:// in URLs
- Test links before sending
- Keep button text short (2-4 words)
Separator
Description: Horizontal line divider Properties:- Color - Line color (defaults to Secondary theme)
- Height - Line thickness (2px)
- Margin - Vertical spacing (18px)
- Separate content sections
- Add visual breaks in long emails
- Divide header from body content
Social Media
Description: Social media icons with links Properties:- Icons - Multiple icon types (Facebook, Instagram, LinkedIn, Twitter, YouTube)
- URLs - Link for each social platform
- Alignment - Left, Center, Right
HTML Output:
Icons are rendered as text labels in the generated HTML. For actual icon images, create a custom component with hosted icon URLs.
Link
Description: Simple text hyperlink Properties:- Text - Link label
- URL - Link destination
Custom Components
What are Custom Components?
Custom components are reusable blocks you create in the Component Library (emailcomponents.php). They support variables that can be configured per use.
Using Custom Components
Edit Values
- Text fields: Enter custom text
- Color fields: Use color picker
- Image fields: Upload or select images
Component Variables
Custom components use double-brace syntax for variables:{{primary}}- Primary theme color{{secondary}}- Secondary theme color{{title}}- Title text{{description}}- Description text{{buttonText}}- Button label{{buttonUrl}}- Button link{{logoUrl}}- Logo image URL{{logoWidth}}- Logo width in pixels
Creating Custom Components
See the Component Library section for details on creating reusable components.Component Library Management
Access the component library at Emails > Componentes.Creating a New Component
Fill Details
- Name - Display name for component
- Key - Unique identifier (auto-generated from name)
- Description - Short description of purpose
- Thumbnail URL - Preview image (optional)
Editing Components
- Click the edit icon (pen) next to a component
- Modify fields in the modal
- Click “Guardar Cambios” to update
Deleting Components
- Click the delete icon (trash) next to a component
- Confirm deletion
- Component is removed from library
Deleting a component does not remove it from existing templates. Templates store the component HTML, not a reference to the library.
Component Best Practices
- Test in email clients - Always preview components in Gmail, Outlook, and Apple Mail
- Use table layouts - Email clients require table-based layouts for reliability
- Inline all styles - CSS must be inline; no external stylesheets or
<style>tags - Limit width - Keep content within 600px width
- Provide fallbacks - Use alt text for images and fallback colors
- Avoid JavaScript - Email clients strip JavaScript for security
- Web-safe fonts only - Stick to Arial, Helvetica, Georgia, Times New Roman
- Small file sizes - Optimize images to load quickly on mobile