Here you can find the MJML components supported in Cannoli.
Below this table there is an example that illustrates how the MJML output looks on Cannoli
MJML tag
MJML output
Supported
Figma Naming Convention
Considerations
Location
mj-preview
<mj-preview>
Not necessary to add this element neither rename layers with this tag in Figma.
head
mj-breakpoint
<mj-breakpoint width="480px">
Not necessary to add this element neither rename layers with this tag in Figma.
This tag allows you to control the breakpoint at which the layout shifts from desktop to mobile and vice versa.
head
mj-attributes
<mj-attributes>
Not necessary to add this element neither rename layers with this tag in Figma.
head
mj-style
<mj-style>
Not necessary to add this element neither rename layers with this tag in Figma.
head
mj-body
<mj-body>
Not necessary to add this element neither rename layers with this tag in Figma.
If you want to have a margin in the email with a different color than the sections, then you can use the mj-body tag in an auto-layout frame that also contains an mj-wrapper.
mjml
mj-button
<mj-button>
mj-button
body
mj-column
<mj-column>
mj-column
body
mj-divider
<mj-divider>
mj-divider
body
mj-group
<mj-group>
mj-section-group
Helps to keep the columns together, so they wont stack on top of each other on mobile.
body
mj-image
<mj-image>
mj-image
body
mj-section
<mj-section>
mj-section
body
mj-social
<mj-social>
mj-social
body
mj-social-element
<mj-social-element>
mj-social-element
body
mj-spacer
<mj-spacer>
Not necessary to add this element neither rename layers with this tag in Figma.