Skip to contents

Create a tab panel with additional UI elements.

Usage

tab_item(tabName, ..., fluid = TRUE)

tabItem(tabName, ..., fluid = TRUE)

Arguments

tabName

Id of the tab.

...

UI elements to include within the tab.

fluid

Controls whether tab width should be 100% (TRUE) or limited by Foomantic UI breakpoints (FALSE).

Value

A tab that can be passed to dashboardBody

Functions

  • tabItem(): Create a tab (alias for tab_item for compatibility with shinydashboard)

Examples

tab_item(tabName = "tab1", "Tab 1")
#> <div role="tabpanel" style="height: 100%;" class="ui tab tab-pane container fluid" id="shiny-tab-tab1" data-tab="shiny-tab-tab1">
#>   <div class="ui padded grid">Tab 1</div>
#> </div>