Loading...
Loading...
Responsive HTML email template generation using MJML 4.x framework. Use when the user asks to create, generate, design, or build an email template — including welcome emails, promotional blasts, transactional templates, newsletters, or any responsive email. Also use when the user asks to compile MJML to HTML, work with or edit existing MJML templates, or troubleshoot email rendering issues across clients.
npx skill4agent add framix-team/skill-email-html-mjml email-html-mjml--config.validationLevel=strict<mjml><mj-head>compilation.mdnpx mjml--config.minify=true.mjml.html<mj-column><mj-section><mj-group><mj-font><mj-section>background-sizebackground-colorinline="inline"<mj-style>colorfont-size<mj-image>alt<mj-title>aria-labelmj-html-attributesrolearia-levelmj-text<mj-attributes><mj-all><mj-class><mj-hero><mj-accordion><mj-carousel><mj-raw><mj-section><mj-hero>topcenterbottombackground-repeat="no-repeat"background-size<mj-font>@font-face--config.minify=true--config.minify=trueinline-block<mj-group>vertical-alignonclick<mj-head>
<mj-raw>
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
</mj-raw>
<!-- Light logo visible by default; dark logo hidden -->
<mj-style inline="inline">
.dark-logo { display: none !important; }
</mj-style>
<!-- Dark mode overrides -->
<mj-style>
@media (prefers-color-scheme: dark) {
.light-logo { display: none !important; }
.dark-logo { display: block !important; }
}
</mj-style>
</mj-head>#121212#000000#F1F1F1#FFFFFF<mj-title>aria-labellang<mjml>alt<mj-image><mj-social-element>mj-html-attributesmj-text<!-- In mj-head -->
<mj-html-attributes>
<mj-selector path=".email-heading div">
<mj-html-attribute name="role">heading</mj-html-attribute>
<mj-html-attribute name="aria-level">1</mj-html-attribute>
</mj-selector>
</mj-html-attributes>
<!-- On the component -->
<mj-text css-class="email-heading" ...>Heading text</mj-text><mj-text>| Group | Components | Load when | File |
|---|---|---|---|
| Head | mj-attributes, mj-font, mj-style, mj-preview, mj-breakpoint, mj-html-attributes | Setting up head, global styles | |
| Layout | mj-body, mj-section, mj-column, mj-group, mj-wrapper | Building structure / grid | |
| Content | mj-text, mj-image, mj-button, mj-divider, mj-spacer, mj-table | Adding content blocks | |
| Interactive | mj-accordion, mj-carousel, mj-social, mj-navbar | Interactive or social elements | |
| Advanced | mj-hero, mj-raw, mj-include | Hero banners, template tags, partials | |
mjml-reference.mdcompilation.mdnpx mjml template.mjml -o dist/template.html --config.minify=true --config.validationLevel=strictnpm install -g mjmlnpx./node_modules/.bin/mjmlpackage.jsonnpm install -D mjmlassets/examples/basic-layout.mjmlmj-head<name>.mjml<name>.htmlwelcome.mjmlpromo-sale.mjmlorder-confirmation.mjml