navlistPanel {shiny} | R Documentation |
Create a navigation list panel
Description
Create a navigation list panel that provides a list of links on the left which navigate to a set of tabPanels displayed to the right.
Usage
navlistPanel(
...,
id = NULL,
selected = NULL,
header = NULL,
footer = NULL,
well = TRUE,
fluid = TRUE,
widths = c(4, 8)
)
Arguments
... |
|
id |
If provided, you can use |
selected |
The |
header |
Tag or list of tags to display as a common header above all tabPanels. |
footer |
Tag or list of tags to display as a common footer below all tabPanels |
well |
|
fluid |
|
widths |
Column widths of the navigation list and tabset content areas respectively. |
Details
You can include headers within the navlistPanel
by including
plain text elements in the list. Versions of Shiny before 0.11 supported
separators with "——", but as of 0.11, separators were no longer
supported. This is because version 0.11 switched to Bootstrap 3, which
doesn't support separators.
See Also
tabPanel()
, updateNavlistPanel()
,
insertTab()
, showTab()
Examples
fluidPage(
titlePanel("Application Title"),
navlistPanel(
"Header",
tabPanel("First"),
tabPanel("Second"),
tabPanel("Third")
)
)