Inserting & Customizing
The minimum code required to insert a glyph in HTML is as follows:
<svg-icon name="NPointJEU-9"></svg-icon>
You could change the size of the glyph using the size attribute:
<svg-icon name="NPointJEU-9" size="24"></svg-icon>
You can also specify a color palette like so:
<svg-icon name="{exampleGlyphName}" class="palette0"></svg-icon>
In order to customize colors, you could use some CSS:
.custom {
--color0: red;
}
@media (prefers-color-scheme: dark) {
.custom {
--color0: pink;
}
}
The class defined above can be applied like so:
<svg-icon name="NPointJEU-9" class="custom"></svg-icon>