How to Design HTML Emails in Figma — The Complete 2026 Guide
Step-by-step guide to designing production-ready HTML emails in Figma. Covers frame setup, font choice, image handling, dark mode, and exporting with FigMail.
Figma is a great place to design emails, but an inbox is not a browser. A layout that looks perfect on the canvas can break in Outlook, get clipped in Gmail or turn unreadable in dark mode if it ignores how email clients render HTML. This guide walks through how to design HTML emails in Figma so the design survives the trip from frame to inbox, and how to turn that frame into production-ready code.
Why email design in Figma needs its own rules
On the web you can count on modern CSS: flexbox, grid, custom fonts and media queries. Email is different. HTML email is still built with nested tables and inline styles, because that is what the widest range of clients understands.
A few well-known facts shape every decision below:
- Outlook for Windows renders email with the Microsoft Word engine, so it ignores many CSS properties, including
max-width,border-radiusand CSS background images. - Many clients strip or limit
<style>blocks, and some ignore media queries, so the layout has to hold up with inline styles alone. - Gmail clips messages larger than about 102 KB of HTML and hides the rest behind a "View entire message" link.
- Web fonts load only in some clients. Everywhere else, the fallback font is what your subscribers see.
None of this means your Figma email design has to look dated. It means the design should be built from pieces that translate cleanly into table-based HTML.
Step 1: Set up the email frame
Width and structure
Start with a single frame 600px wide. It is the long-standing standard for newsletters: it fits comfortably in desktop preview panes and scales down predictably on phones. Let the height grow with the content.
Inside the frame, think in horizontal sections stacked from top to bottom:
- Header (logo, optional navigation)
- Hero (headline, image, main call to action)
- Content blocks (text, product cards, columns)
- Secondary call to action
- Footer (address, social icons, unsubscribe link)
Each section becomes a row in the final HTML, so a clean vertical stack of sections gives you a clean table structure.
Use Auto Layout everywhere
This is the most important rule for a Figma email template. FigMail converts Auto Layout frames into HTML tables, so the way you nest Auto Layout is the way the code will be nested.
- Use vertical Auto Layout for the main frame and for each section.
- Use horizontal Auto Layout for columns, such as an image next to text or a row of three product cards.
- Avoid absolute positioning and free-floating layers. Email tables cannot place one element on top of another the way the canvas can.
- Name your frames clearly ("Header", "Hero", "Product grid"). It keeps the file readable for everyone who works on it.
Spacing without negative values
Email clients handle negative margins poorly. Instead of overlapping elements with negative spacing, use padding and gaps in Auto Layout. If two elements need to sit close together, reduce the gap rather than pulling one over the other.
Step 2: Choose fonts that survive the inbox
Typography is where many emails quietly break. A custom font that looks sharp in Figma may be replaced by Times New Roman in Outlook if no fallback is defined.
| Approach | Where it works | What to do in Figma |
|---|---|---|
| Web-safe fonts (Arial, Helvetica, Verdana, Georgia) | Everywhere | Use them directly |
| Google Fonts | Clients that load web fonts | Use the font, but check the design in a web-safe fallback too |
| Other custom fonts | Rarely reliable | Use for headlines only if you accept the fallback, or move the text into an image sparingly |
FigMail lets you use Google Fonts and sets up the font import and an Outlook-safe fallback stack for you. The generated CSS follows the familiar pattern:
font-family: 'Inter', Arial, Helvetica, sans-serif;
Two practical habits help a lot:
- Preview your design in the fallback font. Duplicate the frame, switch the text to Arial, and check that headlines still fit and nothing wraps badly.
- Respect minimum sizes. Use at least 14px for body text, and 16px is safer for iOS, which can enlarge smaller text and shift your layout.
Keep line heights explicit in Figma rather than "Auto". A fixed line height is easier to reproduce consistently in HTML.
Step 3: Handle images the email way
Export at 2x
Design at 1x (a 600px frame), and export images at 2x so they stay crisp on Retina and high-density phone screens. FigMail exports images at 2x and compresses them automatically, so you do not have to slice assets by hand.
Keep text as live text
It is tempting to flatten a hero into one big image. Resist it where you can:
- Many clients block images by default, and an all-image email shows up as an empty box.
- Live text is readable by screen readers and searchable in the inbox.
- Heavy images slow loading on mobile data.
A good rule: images for photos, illustrations and logos; live text for headlines, body copy and buttons.
Be careful with background images
Text on top of a background image is a common hero pattern, but Outlook does not support CSS background images. In the HTML, a solid background color is set as a fallback and a background attribute is added for Outlook, which works in some versions and not others. In Figma, that means:
- Pick a background color close to the dominant color of the image, so the design still works if the image does not load.
- Keep text contrast high against both the image and that fallback color.
- If the composition only works with the image, flatten that block into a single image and keep the key message in live text below it.
Write alt text as you go
Add a short description to each image layer name or in a note for whoever builds the email. Alt text is what subscribers see when images are off.
Step 4: Design buttons that work everywhere
Buttons should never be images. A real HTML button stays clickable and readable even with images blocked. The FigMail generation rules build each button from two nested tables with a link inside, which renders reliably across clients without relying on CSS that Outlook ignores. Here is the inner table, the button itself:
<table cellpadding="0" cellspacing="0" border="0" width="200">
<tr>
<td align="center" height="48" style="background-color:#1a73e8; border-radius:8px;">
<a href="https://example.com" style="display:block; line-height:48px; color:#ffffff; font-family:Arial, sans-serif; font-size:16px; text-decoration:none;">Shop now</a>
</td>
</tr>
</table>
To design for this in Figma:
- Make each button an Auto Layout frame with a solid fill, a fixed height (44 to 48px is comfortable for tapping) and one line of text.
- Keep button labels short so they do not wrap on narrow screens.
- Accept that rounded corners will be square in Outlook for Windows. Design so the button still looks intentional with square corners.
- Wide buttons can stretch to full width on mobile, which makes them easier to tap.
Step 5: Plan for mobile from the start
Most responsive email design comes down to one idea: on small screens, columns stack into a single column. Design your desktop layout so that stacking makes sense.
- Order columns so the content reads well top to bottom when stacked (image first, then text, for example).
- Avoid more than three columns in a row. Small product cards and icon rows are fine; dense text columns are not.
- Leave enough padding on the sides so text does not touch the screen edge.
FigMail generates the media queries that stack columns, adjust widths and change padding on mobile, based on your Auto Layout structure. If you want to check how a specific layout will stack before you build it, the article on responsive email design in Figma goes deeper.
Remember that some clients ignore media queries. The desktop version should still be readable when scaled down, which is another reason to keep the width at 600px and body text at 14px or larger.
Step 6: Prepare for dark mode
Email clients handle dark mode in different ways. Some leave your colors alone, some partially invert light backgrounds, and some fully invert both backgrounds and text. You cannot fully control the result, but you can design so it degrades gracefully:
- Use transparent PNGs for logos and icons, so they sit on any background instead of showing a white box.
- Add a thin white stroke or glow to dark logos, so a black logo stays visible on a dark background.
- Avoid text baked into images with a white background. It is the element most likely to look broken in dark mode.
- Test both light and dark variants in Figma by duplicating the frame and switching backgrounds to dark gray. If anything disappears, fix the asset, not the color.
FigMail includes dark mode options, such as color inversion settings and forcing light mode, described on the features page. They work best when the assets themselves are prepared as above.
Step 7: Export with FigMail
Once the frame is built with Auto Layout, the conversion is short:
- Install the plugin from the Figma Community.
- Select the top-level frame of your email.
- Run FigMail. The AI analyzes the layout, images and text and builds table-based HTML in seconds.
- Export. On the result screen you can copy the code or download the HTML file and an archive with the assets, then upload them to Mailchimp, Klaviyo, SendGrid or another ESP.
If you would rather keep editing visually, the result screen also has an Open in Blocks editor button. It opens the email in the Blocks drag-and-drop editor with the mobile layout and images carried over, so you can change copy and export to your ESP from there. See the Blocks integration for details.
Because generation takes seconds, iteration is cheap: change copy or swap an image in Figma and generate new HTML without waiting on a developer.
A quick pre-send checklist
Before you send, run through this list:
- Frame is 600px wide and built entirely with Auto Layout
- No absolutely positioned layers or negative spacing
- Fonts have web-safe fallbacks, body text is at least 14px
- Images exported at 2x, with alt text written
- Buttons are live text, not images
- Columns stack in a sensible order on mobile
- Logos are transparent and readable on dark backgrounds
- Total HTML stays well under Gmail's ~102 KB clipping limit
- A test send to yourself in at least Gmail, Apple Mail and Outlook
For Outlook-specific problems, the guide to Outlook HTML email issues covers the most common ones, and the HTML email compatibility guide explains what each major client supports.
Next steps
Designing HTML emails in Figma works best when you treat the frame as a blueprint for tables: a fixed width, Auto Layout throughout, safe fonts, live text buttons and assets prepared for dark mode. Get those right and the export becomes the easy part.
If you want to try it on your own design, install FigMail and convert a frame. The Free plan includes 3 generations per month, and the pricing page lists the paid plans. For more layout tips, see best practices and how it works.
Turn your Figma frame into HTML email
Install the FigMail plugin and get your first emails converted free.
Get the Figma plugin