Description Usage Arguments Examples
The material SideNav bar UI Element
1 2 | material_sidenav(inputId, navlist, logo = NULL, fixed = TRUE,
width = 300, bgcolor = "white", color = NULL)
|
inputId |
String. The input identifier used to access the value. |
navlist |
list. The nav bar element list. The list need to contain a 'target' element and in adition could contain 'name' (string), 'icon' (string), 'active' (logical) and 'badge' (string). |
logo |
list. The nav bar logo element list. The list need to contain a 'target' element and in adition could contain 'name' (string), 'icon' (string) or any tagList elements. |
fixed |
Logical Should the sidenav be fixed? |
width |
Integer. The width size of the sizebar |
bgcolor |
String. The color name for Sidenav backgroud. Leave empty for 'white' color. Visit http://materializecss.com/color.html for a list of available colors. |
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. |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.