material_body: Create a materialize body

Description Usage Arguments Examples

Description

Build a materialize body

Usage

1
2
material_body(..., title = "", footer = NULL,
  bgcolor = "grey lighten-4", fontcolor = NULL, offline = FALSE)

Arguments

...

The UI elements to place in the body

title

String. The title of the body

footer

tagList. The footer of the body

bgcolor

Body background color. Leave blank for "grey lighten-4" color. Visit http://materializecss.com/color.html for a list of available colors.

fontcolor

String. The title font color. Leave blank for the default color. Visit http://materializecss.com/color.html for a list of available colors.

offline

Boolean. Should the material font files be offline? (This will place the font sources in a directory 'www', at the same location as the app code.)

Examples

1
2
3
4
5
6
require(materializer)
material_body(
  title = "Example Title",
  bgcolor = "blue lighten-4",
  shiny::tags$h1("Body Content")
)

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