argonTabSet {argonR} | R Documentation |
Build an argon tabs
argonTabSet( ..., id, card_wrapper = FALSE, horizontal = TRUE, circle = FALSE, size = "sm", width = 6, iconList = NULL )
... |
Slot for argonTab. |
id |
argonTabs id. Should be unique. |
card_wrapper |
Whether to embed tab content in a card. FALSE by default. |
horizontal |
Whether to display tabs horizontally. TRUE by default. |
circle |
Whether to display circled design. FALSE by default. |
size |
Tabs size. "sm" by default. "md", "lg". |
width |
Tabs width. Between 1 and 12. |
iconList |
A list of argonIcon or icon. The lenght must have the same length as the number of tabs. NULL by default. |
David Granjon, dgranjon@ymail.com
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" ) ) }