icon

.icon name:{String} -> <Error class: unknown class>

Shows a pixel-perfect icon, looked up from the icon library by its name.

Note: icon libraries and names are dependent on the renderer. No validation is performed at compile time, and missing icons may not be rendered or rendered incorrectly.

In HTML (and HTML-PDF) rendering, the Bootstrap Icons library is used.

Parameters

name

the name of the icon