Build an argon tabs
argonTabSet(
...,
id,
card_wrapper = FALSE,
horizontal = TRUE,
circle = FALSE,
size = "sm",
width = 6,
iconList = NULL
)
Slot for argonTab.
argonTabs id. Should be unique.
Whether to embed tab content in a card. FALSE by default.
Whether to display tabs horizontally. TRUE by default.
Whether to display circled design. FALSE by default.
Tabs size. "sm" by default. "md", "lg".
Tabs width. Between 1 and 12.
A list of argonIcon or icon. The lenght must have the same length as the number of tabs. NULL by default.
if (interactive()) {
library(argonR)
argonTabSet(
id = "tabset1",
card_wrapper = TRUE,
horizontal = TRUE,
circle = FALSE,
size = "sm",
width = 6,
iconList = list(
argonIcon("cloud-upload-96"),
argonIcon("bell-55"),
argonIcon("calendar-grid-58")
),
argonTab(
tabName = "Tab 1",
active = FALSE,
"tabText1"
),
argonTab(
tabName = "Tab 2",
active = TRUE,
"tabText2"
),
argonTab(
tabName = "Tab 3",
active = FALSE,
"tabText3"
)
)
}