mmo-icon

The mmo-icon custom element is used whenever an icon needs to be displayed.

Documentation
Builder

Usage

The mmo-icon can be displayed anywhere, whether inside a button or with an input. It fills with currentColor, so it takes the colour of the text around it โ€” a button, a rail entry or a dark code bar tints its icons by setting a colour once, on itself.

The list of icons can be found in the assets page.

Examples

The size classes are the font scale, so an icon lines up with the text it sits next to.

With a label, and on a tone:

Notifications Erreur

References

Tags

<#custom element> <#icon>