material_icon: Create a material icon

Description Usage Arguments Examples

Description

Create a material icon

Usage

1
2
material_icon(name, circle = FALSE, color = NULL, position = NULL,
  closable = FALSE, size = NULL)

Arguments

name

Icon to display. Choose here: https://materializecss.com/icons.html.

circle

Whether to circle the icon. FALSE by default.

color

Icon color. Use when circle is TRUE. Visit http://materializecss.com/color.html for a list of available colors.

position

Icon position. NULL, "right" or "left".

closable

Whether the icon is closable or not. Perfect to be insert in material_chip.

size

Icon size: "tiny", "small", "medium" or "large".

Examples

1
2
3
material_icon(
 name = "add"
)

DivadNojnarg/shinymaterialPlus documentation built on May 10, 2019, 9:28 a.m.