Learn R Programming

icon (version 0.1.0)

fa_iconList: Insert icon from font awesome v4.7.0

Description

Insert icon from font awesome v4.7.0

Usage

fa_iconList

fa(name = "font-awesome", size = 1, fixed_width = FALSE, animate = "still", rotate = 0, flip = "none", border = FALSE, pull = NULL, other = NULL, color = NULL, colour = color)

Arguments

name

A string indicating the icon name.

size

Size of the icon relative to font size. Options are 1, lg (33 increase), 2, 3, 4, or 5.

fixed_width

If TRUE, the icon is set to a fixed width

animate

'still', 'spin', or 'pulse'.

rotate

Rotate degree: 0, 90, 180, or 270.

flip

'none', 'horizontal', 'vertical'.

border

If TRUE, draws a border around the icon.

pull

Pulls icon to either 'left' or 'right' and wraps proceeding text around it.

other

Character vector of other parameters directly added to the icon classes

color, colour

Hex code for a colour to be given to the icon

Format

An object of class character of length 1191.

Details

fa_* is equivalent to fa(name = *), which utilises the auto completion.

References

Font awesome