navbar_menu: Navbar Menu

Description Usage Arguments Value Examples

View source: R/navbarPage.R

Description

Create a dropdown menu for a navbar_page.

Usage

1

Arguments

title

Display title for menu

...

tab_panel elements to include in the page. Can also include strings as section headers, or "—-" as a horizontal separator.

id

The ID of the navbar_menu

icon

Optional icon to appear on the tab. This attribute is only valid when using a tab_panel within a navbar_page.

Value

A structured list of class ssnavmenu, that can be used in navbar_page.

Examples

1
2
3
4
5
6
7
navbar_menu(
  "Menu",
  tab_panel("Summary", shiny::plotOutput("plot")),
  "----",
  "Section header",
  tab_panel("Table", shiny::tableOutput("table"))
)

fomantic.plus documentation built on Jan. 25, 2022, 1:15 a.m.