material_tabs {shinymaterial}R Documentation

Place UI content within a tab

Description

Use this function to create tabs in your application.

Usage

material_tabs(tabs, color = NULL)

Arguments

tabs

Named vector. The tab display names and corresponding tab ids.

color

String. The accent color of the tabs. Leave blank for the default color. Must be valid css color.

See Also

material_tab_content

Examples

material_tabs(
  tabs = c(
    "Example Tab 1" = "example_tab_1",
    "Example Tab 2" = "example_tab_2"
  ),
  color = "purple"
)

[Package shinymaterial version 1.2.0 Index]