ui fa

 

Description

Render the HTML to represent a font-aweson icon.

Parameters

string

The icon name (check names here: https://fontawesome.com/icons?d=gallery )

string

(optional, default:"small") The icon size: small, medium, large, 2x, 3x

Return

string

The HTML to create the icon

Example


> ui.fa( "smile-wink" );
&lt; <span class="icon"><i class="fas fa-smile-wink"><></span>

 

Preview:

In the preview of the example you can see the result of the string, a wink icon:

wink_icon