material_icon: Material Icon

Description Usage Arguments Examples

Description

Createa material Icon element

Usage

1
2
material_icon(icon, align = NULL, size = NULL, class = NULL,
  color = NULL, ...)

Arguments

icon

String. The name of the icon. Leave empty for no icon. Visit http://materializecss.com/icons.html for a list of available icons.

align

String The icon align. Values should be 'left', 'right', and 'center'

size

String. Size of icon, could be 'tiny' (1rem), 'small' (2rem), 'medium' (4rem) and 'large' (6rem).

class

String. Aditional class to icon

color

String. The color name for links and icons in Sidenav Leave empty for the 'teal lighten-1' color. Visit http://materializecss.com/color.html for a list of available colors.

...

tagList. Any additional tag list

Examples

1
2
require(materializer)
material_icon(icon = "cloud")

TuSKan/materializer documentation built on May 17, 2019, 6:35 p.m.