tabPanel: Create a tab panel

Description Usage Arguments Value See Also Examples

View source: R/bootstrap.R

Description

Create a tab panel that can be included within a tabsetPanel.

Usage

1
tabPanel(title, ..., value = title, 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

See Also

tabsetPanel

Examples

1
2
3
4
5
6
7
8
9
# 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"))
  )
)

ymd526442121/Rproject_shiny documentation built on May 4, 2019, 5:31 p.m.