Description Usage Arguments See Also Examples
View source: R/shiny-material-tabs.R
Use this function to create tabs in your application.
1 | material_tabs(tabs, color = NULL)
|
tabs |
Named vector. The tab display names and corresponding tab ids. |
color |
String. The accent color of the tabs. Leave blank for the default color. Must be valid css color. |
1 2 3 4 5 6 7 | material_tabs(
tabs = c(
"Example Tab 1" = "example_tab_1",
"Example Tab 2" = "example_tab_2"
),
color = "purple"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.