info_icons {gt}R Documentation

View a table with all available Font Awesome icons for fmt_icon()

Description

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()

Usage

info_icons()

Value

An object of class gt_tbl.

Examples

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

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

Function ID

11-8

Function Introduced

v0.10.0 (October 7, 2023)

See Also

Other information functions: info_currencies(), info_date_style(), info_flags(), info_google_fonts(), info_locales(), info_paletteer(), info_time_style(), info_unit_conversions()


[Package gt version 0.11.0 Index]