powered by
Create a dropdown menu for a navbar_page.
navbar_page
navbar_menu(title, ..., id = title, icon = NULL)
Display title for menu
tab_panel elements to include in the page. Can also include strings as section headers, or "----" as a horizontal separator.
tab_panel
The ID of the navbar_menu
navbar_menu
Optional icon to appear on the tab. This attribute is only valid when using a tab_panel within a navbar_page.
A structured list of class ssnavmenu, that can be used in navbar_page.
ssnavmenu
# NOT RUN { navbar_menu( "Menu", tab_panel("Summary", shiny::plotOutput("plot")), "----", "Section header", tab_panel("Table", shiny::tableOutput("table")) ) # }
Run the code above in your browser using DataLab