| glassTabsUI | R Documentation |
Animated glass-style tab navigation UI
glassTabsUI(
id,
...,
selected = NULL,
wrap = TRUE,
compact = FALSE,
shape = c("rounded", "square"),
indicator = c("glass", "solid", "underline"),
orientation = c("horizontal", "vertical"),
tab_align = c("center", "left", "right"),
text_align = c("center", "left", "right"),
overflow = c("scroll", "multiline", "menu"),
swipe = FALSE,
extra_ui = NULL,
theme = NULL,
dark_selector = NULL
)
id |
Module namespace id. |
... |
One or more |
selected |
Value of the initially selected tab. |
wrap |
Logical. When |
compact |
Logical. When |
shape |
Corner style for the tab bar and content. One of |
indicator |
Style of the sliding active-tab indicator. One of:
|
orientation |
One of |
tab_align |
Alignment of the tab group within the available navigation
area in either orientation. One of
|
text_align |
Alignment of text and icons inside each tab button. One of
|
overflow |
How the tab strip behaves when labels no longer fit. One of
|
swipe |
Whether a horizontal touch swipe over non-interactive panel
content should move to the previous or next available tab. The default is
|
extra_ui |
Optional additional UI placed to the right of the tab bar
(below the tab rail when |
theme |
One of |
dark_selector |
Optional CSS selector for a parent element that signals
dark mode (e.g. |
An htmltools::tagList ready to use in a Shiny UI.
Other glass tabs:
appendGlassTab(),
disableGlassTab(),
glassTabCondition(),
glassTabPanel(),
glassTabsOutput(),
glassTabsServer(),
renderGlassTabs(),
showGlassTab(),
updateGlassTabBadge(),
updateGlassTabsUI()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.