Last chance! 50% off unlimited learning
Sale ends in
Use this function to create side-nav tabs in your application.
material_side_nav_tabs(
side_nav_tabs,
icons = NULL,
color = NULL,
font_color = NULL
)
Named vector. The side-nav tab display names and corresponding side-nav tab ids.
String vector. The names of the icons. Leave blank for no icons, or use "none". The length of the vector must match the length of side_nav_tabs. Visit https://materializecss.com/icons.html for a list of available icons.
String. The accent color of the side-nav tab wave animation. Leave blank for the default color. Visit https://materializecss.com/waves.html for a list of available colors. Side-nav tab color requires using word forms of colors (e.g. "purple").
String. The side-nav tabs font color. Leave blank for the default color. Visit https://materializecss.com/color.html for a list of available colors. Side-nav tab color requires using word forms of colors (e.g. "deep-purple"). Also, lighten or darken effects do not work on side-nav tab colors.
# NOT RUN {
material_side_nav_tabs(
side_nav_tabs = c(
"Example Side-Nav Tab 1" = "example_side_nav_tab_1",
"Example Side-Nav Tab 2" = "example_side_nav_tab_2"
),
icons = c("cloud", "none"),
color = "teal"
)
# }
Run the code above in your browser using DataLab