Description Usage Arguments Examples
Build a materialize body
1 2 |
... |
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.) |
1 2 3 4 5 6 | require(materializer)
material_body(
title = "Example Title",
bgcolor = "blue lighten-4",
shiny::tags$h1("Body Content")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.