tabPanel

0th

Percentile

Create a tab panel

Create a tab panel

Usage
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 tabsetPanel reports that this tab is selected. If omitted and tabsetPanel has an id, then the title will be used.

icon

Optional icon to appear on the tab. This attribute is only valid when using a tabPanel within a navbarPage().

Value

A tab that can be passed to tabsetPanel()

Functions

  • tabPanel: Create a tab panel that can be included within a tabsetPanel() or a navbarPage().

  • tabPanelBody: Create a tab panel that drops the title argument. This function should be used within tabsetPanel(type = "hidden"). See tabsetPanel() for example usage.

See Also

tabsetPanel()

Aliases
  • tabPanel
  • tabPanelBody
Examples
# NOT RUN {
# 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"))
  )
)
# }
Documentation reproduced from package shiny, version 1.5.0, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.