Create a tab panel — tabPanel
tabPanel(title, ..., value = title, icon = NULL) tabPanelBody(value, ..., icon = NULL)
Arguments
title |
Display title for tab |
---|---|
... |
UI elements to include within the tab |
value |
The value that should be sent when |
icon |
Optional icon to appear on the tab. This attribute is only
valid when using a |
Description
Create a tab panel
Value
A tab that can be passed to tabsetPanel()
Functions
tabPanel
: Create a tab panel that can be included within atabsetPanel()
or anavbarPage()
.tabPanelBody
: Create a tab panel that drops the title argument. This function should be used withintabsetPanel(type = "hidden")
. SeetabsetPanel()
for example usage.
See also
Examples
# Show a tabset that includes a plot, summary, and # table view of the generated distribution mainPanel( tabsetPanel( tabPanel("Plot", plotOutput("plot")), tabPanel("Summary", verbatimTextOutput("summary")), tabPanel("Table", tableOutput("table")) ) )