SVG images
Content & assetsSVG images
Vector logos and icons.
SVG is supported in the image block. Many email clients don't render SVG, so provide a PNG fallback for broad inbox support, or use SVG only where you control the client.
How SVG passes through the export
- In the Image block, an SVG file at an
https://address is exported as a normal<img>tag, the same as a PNG. - Inline
<svg>markup in an HTML or Text block is removed, with its contents, by the export's sanitizer, which is on by default. - Inside HTML content, a
data:image/svg+xmladdress is removed too, because an SVG can carry script.
A pattern that works
Host the logo or icon as a file and put its URL in the Image block, rather than pasting SVG markup. For email, point it at a PNG version. Keep the .svg URL for output you control, such as a page from the Page builder.