npm

mjml-link

2.0.1 • Public • Published

mjml-link

<mjml>
  <mj-body>
    <mj-container>
      <!-- Navbar (see component mj-navbar) -->
      <mj-navbar>
        <mj-column>
          <!-- Wrapper (see component mj-inline-links) -->
          <mj-inline-links base-url="https://mjml.io">
            <mj-link href="/getting-started-onboard">Getting started</mj-link>
            <mj-link href="/try-it-live">Try it live</mj-link>
            <mj-link href="/documentation">Documentation</mj-link>
          </mj-inline-links>
        </mj-column>
      </mj-navbar>
    </mj-container>
  </mj-body>
</mjml>

Displays a horizontal navbar.

sexy

All the mj-link components must be wrapped in a component mj-inline-links
attribute unit description default value
color color text color #000000
font-family string font Ubuntu, Helvetica, Arial, sans-serif
font-size px text size 13px
font-style string normal/italic/oblique n/a
font-weight number text thickness n/a
line-height px space between the lines 22px
text-decoration string underline/overline/none n/a
padding px supports up to 4 parameters 10px 25px
padding-top px top offset n/a
padding-bottom px bottom offset n/a
padding-left px left offset n/a
padding-right px right offset n/a

Readme

Keywords

none

Package Sidebar

Install

npm i mjml-link

Homepage

mjml.io

Weekly Downloads

11

Version

2.0.1

License

MIT

Last publish

Collaborators

  • mjmlio
  • kmcb
  • iryusa
  • loeck
  • ngarnier
  • meriadec