Description Usage Arguments Author(s) Examples
Build a Metro tab container
1 2 3 4 5 6 |
... |
Slot for metroTab. |
mode |
Tab mode: NULL or "pills", "text" and "group". |
position |
Tab position: "horizontal" by default or "vertical". |
align |
Tab align: "start", "center" or "end". |
David Granjon, dgranjon@ymail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | if(interactive()){
library(shiny)
library(shinyMetroUi)
shiny::shinyApp(
ui = metroPage(
metroTabs(
mode = "pills",
position = "horizontal",
metroTab(tabName = "Tab 1", "test 1"),
metroTab(tabName = "Tab 2", "test 2"),
metroTab(tabName = "Tab 3", "test 3")
)
),
server = function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.