tab_panel {fomantic.plus}R Documentation

Tab Panel

Description

Create a tab panel

Usage

tab_panel(
  title,
  ...,
  value = title,
  icon = NULL,
  type = "bottom attached segment"
)

Arguments

title

Display title for tab

...

UI elements to include within the tab

value

The value that should be sent when navbar_menu reports that this tab is selected. If omitted and navbar_menu has an id, then the title will be used.

icon

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

type

Change depending what type of tab is wanted. Default is bottom attached segment.

Value

A tab that can be passed to navbar_menu.

See Also

navbar_menu

Examples

navbar_menu(
  tab_panel("Plot", shiny::plotOutput("plot")),
  tab_panel("Summary", shiny::verbatimTextOutput("summary")),
  tab_panel("Table", shiny::tableOutput("table"))
)


[Package fomantic.plus version 0.1.0 Index]