Skip to contents

fmt_icon() can be used to render Font Awesome icons within body cells that reference the icon names. Further to this, the text transformation functions (e.g., text_case_match()) allow for the insertion of these icons as replacement text (so long as you use the fa() function from the fontawesome package). Because there is a very large number of icons available to use in Font Awesome, info_icons() can be used to provide us with a table that lists all the icons along with their short and full names (either can be used with fmt_icon()). It also contains acceptable codes for fmt_country()




An object of class gt_tbl.


Get a table of info on all the available Font Awesome icons.

This image of a table was generated from the first code example in the `info_icons()` help file.

Function ID


Function Introduced

v0.10.0 (October 7, 2023)