material_page: Create a shinymaterial page

Description Usage Arguments Examples

Description

Build a shinymaterial page.

Usage

1
2
3
material_page(..., enable_footer = TRUE, navbar = NULL,
  footer = NULL, background_color = "grey lighten-4",
  include_fonts = FALSE)

Arguments

...

The UI elements to place in the page.

enable_footer

Whether to display the footer or not. TRUE by default.

navbar

Slot for material_navbar.

footer

Slot for material_footer.

background_color

Page background color. Leave blank for the default color. Visit http://materializecss.com/color.html for a list of available colors.

include_fonts

Boolean. Should the material font files be included? (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
7
material_page(
  material_navbar(
   
  )
  background_color = "blue lighten-4",
  shiny::tags$h1("Page Content")
)

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