navbar_menu {fomantic.plus}R Documentation

Navbar Menu

Description

Create a dropdown menu for a navbar_page.

Usage

navbar_menu(title, ..., id = title, icon = NULL)

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

navbar_menu(
  "Menu",
  tab_panel("Summary", shiny::plotOutput("plot")),
  "----",
  "Section header",
  tab_panel("Table", shiny::tableOutput("table"))
)


[Package fomantic.plus version 0.1.0 Index]