Create a navigation list panel
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.
navlistPanel(..., id = NULL, selected = NULL, well = TRUE, fluid = TRUE, widths = c(4, 8))
tabPanelelements to include in the navlist
- If provided, you can use
idin your server logic to determine which of the current navlist items is active. The value will correspond to the
valueargument that is passed to
value(or, if none was supplied, the
title) of the navigation item that should be selected by default. If
NULL, the first navigation will be selected.
TRUEto place a well (gray rounded rectangle) around the navigation list.
TRUEto use fluid layout;
FALSEto use fixed layout.
- Column withs of the navigation list and tabset content areas respectively.
You can include headers within the
including plain text elements in the list; you can include separators by
including "------" (any number of dashes works).
shinyUI(fluidPage( titlePanel("Application Title"), navlistPanel( "Header", tabPanel("First"), tabPanel("Second"), "-----", tabPanel("Third") ) ))