Skip to main content
Version: 2.0.0

Article

The article component allows you to design a news page, with several possible layouts and parameters.

For more informations on the icons used, consult the dedicated page.

Basic usage

An article is composed of several elements to be nested. First, the .ms-article tag must be at the root of the structure.

Then, you can add several elements such as an image with the .ms-article-picture class, information about the article with the .ms-article-infos class, a list of tags/labels with the .ms-list-label class, a title and content with the .ms-article-title and .ms-article-text tags.

For more informations about user element, consult the dedicated page.

Live Editor
Result
background
Lorem ipsum dolor sit amet adipisicing elit.
Article's title

Lorem, ipsum dolor sit amet consectetur adipisicing elit. Sit nulla libero sint repudiandae amet sed in magnam nam aliquid inventore natus non labore ipsam, quam enim dolorum! Labore, dolorum ratione Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo, hic velit sed ea quod sunt quam dicta beatae quia optio deserunt ex quae repellendus eaque cum, sapiente veniam mollitia ipsa.

Lorem ipsum dolor sit amet, consectetur adipisicing elit...

Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo, hic velit sed ea quod sunt quam dicta beatae quia optio deserunt ex quae repellendus eaque cum, sapiente veniam mollitia ipsa.

Second title

Lorem, ipsum dolor sit amet consectetur adipisicing elit. Sit nulla libero sint repudiandae amet sed in magnam nam aliquid inventore natus non labore ipsam, quam enim dolorum! Labore, dolorum ratione!

...

Picture

In order to illustrate your article, we can also add an image to the article with the .ms-article-picture tag. An image can contain a title with the .ms-article-picture-title class, and also an overlay, allowing to darken the image, with the .ms-article-picture-overlay class.

Live Editor
Result

Informations

It is also possible to add information at the beginning of the article with the .ms-article-infos class.

Live Editor
Result

List of tags

It is possible to add a list of labels, which can identify the article on certain categories, with the class .ms-list-label.

Live Editor
Result

Title and content

Finaly, we can add a title with .ms-article-titleclass, and content with .ms-article-textclasse.

Live Editor
Result
Article's title

Lorem, ipsum dolor sit amet consectetur...