4.15.3 • Published 3 months ago

mjml-carousel v4.15.3

Weekly downloads
201,229
License
MIT
Repository
github
Last release
3 months ago

mjml-carousel

mjml-carousel displays a gallery of images or "carousel". Readers can interact by hovering and clicking on thumbnails depending on the email client they use.

This component enables you to set the styles of the carousel elements.

<mjml>
  <mj-body>
    <mj-section>
      <mj-column>
        <mj-carousel>
          <mj-carousel-image src="https://www.mailjet.com/wp-content/uploads/2016/11/ecommerce-guide.jpg" />
          <mj-carousel-image src="https://www.mailjet.com/wp-content/uploads/2016/09/3@1x.png" />
          <mj-carousel-image src="https://www.mailjet.com/wp-content/uploads/2016/09/1@1x.png" />
        </mj-carousel>
      </mj-column>
    </mj-section>
  </mj-body>
</mjml>
attributeunitdescriptiondefault value
alignstringhorizontal alignmentcenter
border-radiuspxborder radiusn/a
background-colorstringcolumn background colornone
thumbnailsStringdisplay or not the thumbnails (visiblehidden)
tb-bordercss border formatborder of the thumbnailsnone
tb-border-radiuspxborder-radius of the thumbnailsnone
tb-hover-border-colorstringcss border color of the hovered thumbnailnone
tb-selected-border-colorstringcss border color of the selected thumbnailnone
tb-widthpxthumbnail widthnull
left-iconurlicon on the left of the main imagehttps://mjml.io/assets/img/left-arrow.png
right-iconurlicon on the right of the main imagehttps://mjml.io/assets/img/right-arrow.png
icon-widthpxwidth of the icons on left and right of the main image44px
css-classstringclass name, added to the root HTML element createdn/a

mjml-carousel-image

This component enables you to add and style the images in the carousel.

attributeunitdescriptiondefault value
srcurlimage sourcen/a
thumbnails-srcurlimage source to have a thumbnail different than the image it's linked tonull
hrefurllink to redirect to on clickn/a
relstringspecify the rel attributen/a
altstringimage descriptionn/a
titlestringtooltip & accessibilityn/a
css-classstringclass name, added to the root HTML element createdn/a
5.0.0-alpha.1

3 months ago

5.0.0-alpha.0

3 months ago

4.15.3

3 months ago

4.15.0

3 months ago

4.15.1

3 months ago

4.15.2

3 months ago

4.14.1

1 year ago

4.14.0

1 year ago

4.13.0

2 years ago

4.12.0

2 years ago

4.11.0

2 years ago

4.10.4

3 years ago

4.10.3

3 years ago

4.10.2

3 years ago

4.10.1

3 years ago

4.10.0

3 years ago

4.9.3

3 years ago

4.9.2

3 years ago

4.9.1

3 years ago

4.9.0

3 years ago

4.8.2

3 years ago

4.8.1

3 years ago

4.8.0

3 years ago

4.7.1

4 years ago

4.7.0

4 years ago

4.7.0-beta.2

4 years ago

4.7.0-beta.1

4 years ago

4.7.0-beta.0

4 years ago

4.6.3

4 years ago

4.6.3-alpha.0

4 years ago

4.6.2

4 years ago

4.6.1

4 years ago

4.6.0

4 years ago

4.5.1

5 years ago

4.5.0

5 years ago

4.4.1

5 years ago

4.4.0

5 years ago

4.4.0-beta.3

5 years ago

4.4.0-beta.2

5 years ago

4.4.0-beta.1

5 years ago

4.3.1

5 years ago

4.3.0

5 years ago

4.2.1

5 years ago

4.2.0

6 years ago

4.2.0-beta.3

6 years ago

4.2.0-beta.2

6 years ago

4.2.0-beta.1

6 years ago

4.1.2

6 years ago

4.1.1

6 years ago

4.1.0

6 years ago

4.1.0-beta.4

6 years ago

4.1.0-beta.3

6 years ago

4.1.0-beta.2

6 years ago

4.1.0-beta.1

6 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

4.0.0-beta.2

6 years ago

4.0.0-beta.1

6 years ago

3.3.5

7 years ago

3.3.4

7 years ago

3.3.3

7 years ago

3.3.3-beta.2

7 years ago

3.3.3-beta.1

7 years ago

3.3.2

7 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.3.0-beta.8

7 years ago

3.3.0-beta.7

7 years ago

3.3.0-beta.6

7 years ago

3.3.0-beta.5

7 years ago

3.3.0-beta.4

7 years ago

3.3.0-beta.3

7 years ago

3.3.0-beta.2

7 years ago

3.3.0-beta.1

7 years ago

3.2.2

7 years ago

3.2.0

7 years ago

3.2.0-beta.2

7 years ago

3.2.0-beta.1

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.1.0-beta.2

7 years ago

3.1.0-beta.1

7 years ago