Skip to main content

Overview

Design in Figma, convert to production-ready email HTML in seconds. Migma imports your Figma files and generates clean, responsive HTML/React Email/MJML with no vendor lock-in.

Cleaner Output

Cleaner HTML/React, better component detection, improved font handling

Pixel-Perfect

Preserves your exact design vision

No Lock-In

Export to any ESP or framework

Why Figma to Email?

For Designers

Design with full creative freedom in Figma
No need to learn email HTML constraints
Maintain design system consistency
Faster than manual hand-off to developers

For Developers

Clean, semantic HTML/React Email output
Production-ready code in seconds
No manual implementation of mockups
Email-client compatible out of the box

For Teams

Bridge design-development workflow
Reduce back-and-forth iterations
Maintain single source of truth (Figma)
Scale email production

How It Works

1

Design in Figma

Create your email design in Figma using frames, components, and auto-layout
2

Get Figma URL

Share your Figma file and copy the URL
3

Paste in Migma

Navigate to Create page and paste Figma URL with special prompt
4

AI Converts

Migma analyzes design and generates responsive HTML/React Email
5

Review & Export

Preview, refine, and export in your preferred format

Step-by-Step: Import from Figma

1. Prepare Your Figma File

Design Guidelines:
  • Main frame = email container (600px width recommended)
  • Nested frames = sections (header, hero, content, footer)
  • Auto-layout for consistent spacing
  • Use web-safe fonts or Google Fonts
  • Consistent text styles
  • Clear hierarchy (H1, H2, body)
  • Tip: Migma handles font fallbacks automatically
  • Named color styles for consistency
  • Hex values for all colors
  • Consider email dark mode
  • Export at 2x for retina displays
  • Use fills or image fills
  • Placeholder images acceptable (you can replace)
  • Use component instances for buttons
  • Include button states if desired
  • Clear text labels

2. Share Your Figma File

1

Open Sharing Settings

Click Share button in top-right of Figma
2

Set Permissions

Choose “Anyone with the link can view”
Important: File must be publicly accessible or shared with Migma
3

Copy Link

Click Copy link to get your Figma file URL

3. Import to Migma

Navigate to Create page and use this prompt pattern:
Import from Figma: [PASTE YOUR FIGMA URL]

Convert this design to responsive email HTML
Advanced prompt example:
Import from Figma: https://www.figma.com/file/ABC123/Email-Design

Convert to React Email format
Use my brand colors if different from design
Ensure mobile responsive breakpoints
Add alt text to all images

4. Review Conversion

Migma generates:
  • Clean HTML or React Email code
  • Mobile-responsive breakpoints
  • Email-client compatible CSS
  • Inline styles where needed
  • Proper image optimization

What Migma Converts

✅ Fully Supported

Layout

Frames, auto-layout, grids, columns

Typography

Text styles, fonts, sizes, colors, alignment

Colors

Fills, gradients (simplified for email), borders

Images

Image fills, exports, backgrounds

Shapes

Rectangles, rounded corners, borders

Spacing

Padding, margins, auto-layout gaps

⚠️ Converted with Adaptations

What happens: Complex vectors simplified to rectangles or imagesBest practice: Use simple shapes or export as images
What happens: Shadows, blurs converted to email-safe alternativesBest practice: Keep effects minimal for email compatibility
What happens: Converted to static stateBest practice: Use static designs or simple GIFs
What happens: Fallbacks provided for unsupported fontsBest practice: Use Google Fonts or web-safe fonts

Export Formats

Choose your preferred output format:
  • HTML
  • React Email
  • MJML
Standard HTML with inline CSSBest for:
  • Direct ESP upload
  • Maximum compatibility
  • Simple email workflows
Includes:
  • Inline styles
  • Table-based layout (for Outlook)
  • Email-safe CSS
  • Responsive media queries

Figma Design Best Practices

Optimal Email Dimensions

Desktop: 600-650px width
Mobile: Auto-responsive (Migma handles breakpoints)
Height: No limit (scrollable)

Layer Organization

Recommended structure:
📧 Email Container (600px)
├── 🎯 Header
│   ├── Logo
│   └── Navigation (optional)
├── 🖼️ Hero Section
│   ├── Hero Image
│   └── Headline + CTA
├── 📝 Content Sections
│   ├── Section 1
│   ├── Section 2
│   └── Section 3
└── 🔚 Footer
    ├── Social Icons
    ├── Unsubscribe Link
    └── Company Info

Component Best Practices

Design:
  • Min height: 44px (touch target)
  • Min width: 200px
  • Padding: 12px 24px
  • Rounded corners: 4-8px
Figma setup:
  • Use component variants for states
  • Include clear text labels
  • Set constraints for responsive behavior
Design:
  • Use 2x resolution for retina
  • Max width: 600px
  • Alt text in layer names
Figma setup:
  • Layer name = alt text suggestion
  • Use fills or image fills
  • Ensure images are exportable
Design:
  • Min font size: 14px body, 16px mobile
  • Line height: 1.5-1.7
  • Readable paragraph width
Figma setup:
  • Use text styles
  • Set auto-width for responsiveness
  • Consider mobile line breaks

Advanced Features

Brand Color Override

Import Figma but apply your brand colors:
Import from Figma: [URL]

Replace all blue colors with my brand purple
Apply my brand fonts
Keep the layout structure

Responsive Breakpoints

Migma automatically handles mobile responsiveness, but you can specify:
Import from Figma: [URL]

On mobile:
- Stack columns vertically
- Increase font sizes by 10%
- Make CTAs full-width

Component Mapping

Map Figma components to email patterns:
Import from Figma: [URL]

Convert:
- "Button Primary" components to my CTA style
- "Card" components to email-safe boxes
- "Icon Grid" to table layout for Outlook

Figma Plugins for Migma

While not required, these plugins enhance your Figma-to-email workflow:

Email-Ready Components

Use email-specific component libraries designed for conversion

Export Helpers

Batch export images at correct sizes

Contrast Checkers

Ensure text readability

Responsive Preview

Preview at 375px mobile width

Comparison: Figma vs Other Methods

FeatureFigma ImportImage CloneHTML Import
Accuracy⭐⭐⭐⭐⭐ Highest⭐⭐⭐⭐ Very High⭐⭐⭐⭐⭐ Exact
Speed⚡⚡ 60-90 sec⚡⚡⚡ 30-60 sec⚡ Instant
Text QualityPerfectOCR-basedPerfect
Best ForOriginal designsScreenshotsCode migration
SetupFigma accessNoneHTML source
FlexibilityHighMediumLow

Troubleshooting

Cause: File not publicly shared or wrong permissionsSolution:
  1. Open Figma file
  2. Click Share → Anyone with link can view
  3. Copy new link and retry
Cause: Custom fonts not available in email clientsSolution:
  • Migma automatically provides web-safe fallbacks
  • Consider using Google Fonts
  • Specify preferred fallback:
Use Arial as fallback for custom font
Cause: Fixed widths or complex positioningSolution:
  • Use Figma auto-layout
  • Avoid absolute positioning
  • Request specific mobile behavior:
Stack all columns on mobile
Cause: Color profile differences or renderingSolution:
  • Verify hex codes in Figma
  • Manually adjust in refinement:
Change all blue to exact hex #2563EB
Cause: Images not exported or inaccessibleSolution:
  • Ensure images in Figma are fills (not links)
  • Check image export settings
  • Re-upload images if needed

Designer-Developer Workflow

Collaboration Pattern

1

Designer Creates

Designer builds email in Figma following guidelines
2

Designer Shares

Designer shares Figma link with developer/marketer
3

Import to Migma

Developer/marketer imports to Migma
4

Review Together

Both review converted HTML, make adjustments
5

Refine in Chat

Use Migma chat to make final tweaks collaboratively
6

Export & Deploy

Export to ESP and launch campaign

Feedback Loop

Designer → Migma → Developer:
  1. Designer updates Figma
  2. Re-import to Migma
  3. Compare versions
  4. Implement changes
Time saved: Hours of manual HTML coding per email

Next Steps


Need Help?