Skip to main content

Example

{% icon name="info" /%}

With Size

{% icon name="star" size=24 color="#ff0000" /%}

With Color

{% icon name="check" color="#0000ff" /%}

With Tooltip

{% icon name="info" tooltip="This is an info icon" /%}

Attributes

name
String
required
Name of the icon to display
size
Number
default:"20"
Size of the icon
color
String
Color of the icon, use hex codes, rgb/rgba, or a css color name
tooltip
String
Tooltip text for the icon
stroke_width
Number
default:"2"
Width of the icon outline
I