Animated glass-style tab navigation UI
Usage
glassTabsUI(
id,
...,
selected = NULL,
wrap = TRUE,
compact = FALSE,
extra_ui = NULL,
theme = NULL
)Arguments
- id
Module namespace id.
- ...
One or more
glassTabPanel()objects.- selected
Value of the initially selected tab.
- wrap
Logical. When
TRUEwraps everything in adiv.gt-container.- compact
Logical. When
TRUEapplies reduced padding and spacing via the.gt-compactCSS modifier — useful inside dashboard cards or tight layouts (e.g. bs4Dash).- extra_ui
Optional additional UI placed to the right of the tab bar.
- theme
One of
"dark","light", or aglass_tab_theme()object.
Value
An htmltools::tagList ready to use in a Shiny UI.