
Last chance! 50% off unlimited learning
Sale ends in
Advanced tabset panel with styles and features
tabsetPanel(
...,
type = c("default", "pills", "clean", "jPills", "justified"),
border = TRUE,
justified = FALSE,
position = c("left", "end", "center")
)
An HTML containing elements of a tabset to be embedded in a page
Content of the tabset, created using the tabPanel for each individual item
Type of tabset to create, choices include "default","pills","clean","jPills","justified"
Include a board for the tabset, TRUE or FALSE
Justify tab headers, TRUE or FALSE
position of the tabs, choices include "left","end","center"
# \donttest{
if (interactive()) {
library(shiny)
library(nextGenShinyApps)
tab2 <- tabPanel("Summary", "SAMPLE nunc.")
tab3 <- tabPanel("Tab 3", "aoreet sit amet.")
tab4 <- tabPanel("Tab 4", "Vulputate pulvinar")
shiny::shinyApp(
ui = fluidPage(
style = "8",
custom.bg.color = "rgb(110,134,032)",
sidebar = NULL,
header = NULL,
tabsetPanel(
tab2,
tab3,
type = "pills",
justified = TRUE
)
),
server = function(input, output) {
}
)
}
# }
Run the code above in your browser using DataLab