Skip to contents

Tabs

Usage

tab_container(...)

tab(...)

tab_separator(...)

Arguments

...

Components to be placed in the tab container or tab.

Details

See tabs

Examples

tab_container(
  tab(
    icon = "menu",
    text = "Tab 1",
    "This is the first tab"
  ),
  tab(
    icon = "activities",
    text = "Tab 2",
    "This is the second tab"
  ),
  tab_separator(),
  tab(
    icon = "add",
    text = "Tab 3",
    "This is the third tab"
  )
)
#> <ui5-tabcontainer>
#>   <ui5-tab icon="menu" text="Tab 1">This is the first tab</ui5-tab>
#>   <ui5-tab icon="activities" text="Tab 2">This is the second tab</ui5-tab>
#>   <ui5-tab-separator></ui5-tab-separator>
#>   <ui5-tab icon="add" text="Tab 3">This is the third tab</ui5-tab>
#> </ui5-tabcontainer>