Skip to content

framix-team/skill-email-html-mjml / email-html-mjml

email-html-mjml

Verified

Responsive HTML email template generation using MJML 5.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 `.mjml` files, or troubleshoot email rendering issues across clients.

assets/examples/basic-layout.mjml

View on GitHub
<mjml lang="en" dir="ltr">
  <mj-head>
    <mj-title>Basic layout example</mj-title>
  </mj-head>
  <mj-body>

    <!-- Company Header -->
    <mj-section background-color="#f0f0f0">
      <mj-column>
        <mj-text
          align="center"
          font-style="italic"
          font-size="20px"
          color="#626262"
        >
          My Company
        </mj-text>
      </mj-column>
    </mj-section>

    <!-- Image Header -->
    <mj-section
      background-url="https://1.bp.blogspot.com/-TPrfhxbYpDY/Uh3Refzk02I/AAAAAAAALw8/5sUJ0UUGYuw/s1600/New+York+in+The+1960's+-+70's+(2).jpg"
      background-size="cover"
      background-repeat="no-repeat"
    >
      <mj-column width="600px">
        <mj-text
          align="center"
          color="#fff"
          font-size="40px"
          font-family="Helvetica Neue, Helvetica, Arial, sans-serif"
        >
          Slogan here
        </mj-text>

        <mj-button background-color="#F63A4D" href="#">
          Promotion
        </mj-button>
      </mj-column>
    </mj-section>

    <!-- Introduction Text -->
    <mj-section background-color="#fafafa">
      <mj-column width="400px">
        <mj-text
          font-style="italic"
          font-size="20px"
          font-family="Helvetica Neue, Helvetica, Arial, sans-serif"
          color="#626262"
        >
          My Awesome Text
        </mj-text>

        <mj-text color="#525252">
          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim
          eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras
          id dui lectus. Vestibulum sed finibus lectus, sit amet suscipit nibh.
          Proin nec commodo purus. Sed eget nulla elit. Nulla aliquet mollis
          faucibus.
        </mj-text>

        <mj-button background-color="#F45E43" href="#">Learn more</mj-button>
      </mj-column>
    </mj-section>

    <!-- 2 Columns Section -->
    <mj-section background-color="white">
      <!-- Left image -->
      <mj-column>
        <mj-image
          alt="Black and white photograph of a Paris street scene"
          width="200px"
          src="https://designspell.files.wordpress.com/2012/01/sciolino-paris-bw.jpg"
        />
      </mj-column>

      <!-- Right paragraph -->
      <mj-column>
        <mj-text
          font-style="italic"
          font-size="20px"
          font-family="Helvetica Neue, Helvetica, Arial, sans-serif"
          color="#626262"
        >
          Find amazing places
        </mj-text>

        <mj-text color="#525252">
          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim
          eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras
          id dui lectus. Vestibulum sed finibus lectus.
        </mj-text>
      </mj-column>
    </mj-section>

    <!-- Icons -->
    <mj-section background-color="#fbfbfb">
      <mj-column>
        <mj-image
          alt="Decorative icon"
          padding="10px"
          width="100px"
          src="https://191n.mj.am/img/191n/3s/x0l.png"
        />
      </mj-column>
      <mj-column>
        <mj-image
          alt="Decorative icon"
          padding="10px"
          width="100px"
          src="https://191n.mj.am/img/191n/3s/x01.png"
        />
      </mj-column>
      <mj-column>
        <mj-image
          alt="Decorative icon"
          padding="10px"
          width="100px"
          src="https://191n.mj.am/img/191n/3s/x0s.png"
        />
      </mj-column>
    </mj-section>

    <!-- Social icons -->
    <mj-section background-color="#e7e7e7">
      <mj-column>
        <mj-social>
          <mj-social-element name="facebook">Share</mj-social-element>
        </mj-social>
      </mj-column>
    </mj-section>

  </mj-body>
</mjml>
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall