material_tabs: Place UI content within a tab

Description Usage Arguments See Also Examples

View source: R/shiny-material-tabs.R

Description

Use this function to create tabs in your application.

Usage

1
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

1
2
3
4
5
6
7
material_tabs(
  tabs = c(
    "Example Tab 1" = "example_tab_1",
    "Example Tab 2" = "example_tab_2"
  ),
  color = "purple"
)

ericrayanderson/shinymaterial documentation built on Oct. 9, 2020, 5:21 p.m.