Description Usage Arguments Author(s) Examples
Build an argon tabs
1 2 3 4 5 6 7 8 9 10 |
... |
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | 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"
)
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.