Skip to contents

Create a panel with tabs.

Usage

tab_items(...)

tabItems(...)

Arguments

...

Tabs.

Value

A panel with tabs that can be passed to dashboardBody

Functions

  • tabItems(): Create a panel with tabs (alias for tab_items for compatibility with shinydashboard)

Examples

tabItems(
 tabItem(tabName = "tab1", "Tab 1"),
 tabItem(tabName = "tab2", "Tab 2"))
#> <div class="tab-content">
#>   <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>
#>   <div role="tabpanel" style="height: 100%;" class="ui tab tab-pane container fluid" id="shiny-tab-tab2" data-tab="shiny-tab-tab2">
#>     <div class="ui padded grid">Tab 2</div>
#>   </div>
#> </div>