Create a font icon.
fdIcon(name, class = NULL, lib = "font-awesome", ...)
This function supports four font libraries at present. A detailed list of fonts
can be found on the pages listed below. The name to pass to fdIcon
should be devoid of any of the suffixes used. For example to use a glyphicon
named glyphicon glyphicon-asterisk
, you would use the name
asterisk
and set lib
to glyphicon
.
You can use the class
argument to add extra classes to the icon. This
is useful when you want to drive behavior. For example an icon marked with
the class popover
could display a help note on being clicked.