Build a Metro tab container
metroTabs( ..., mode = NULL, position = c("horizontal", "vertical"), align = c("start", "center", "end") )
... | 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". |
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) {} ) }