Package: glasstabs 0.4.1

glasstabs: Animated Glass-Style Tabs and Select Inputs for 'Shiny'

Tools for creating animated glassmorphism-style tab navigation and select filter widgets in 'Shiny' applications. Provides a tab navigation component with a sliding glass halo animation, a searchable multi-select dropdown, and a single-select dropdown - all with multiple colour themes and server-side update helpers. Tabs support icons, numeric badges, disable/enable toggling, runtime append/remove, reactive rendering via 'renderGlassTabs()', URL bookmarking, responsive overflow modes, optional touch gestures, reduced-motion support, and compact mode for dashboard card layouts. 'glassTabCondition()' generates 'conditionalPanel()' condition strings without needing to recall the internal input key pattern. 'glasstabs_news()' displays the release notes from the R console. Built-in example apps can be launched with 'runGlassExample()'. All widgets are compatible with standard 'Shiny' layouts and 'bs4Dash' dashboards and 'bslib' themed applications. An experimental 'glassPage()' helper provides a thin wrapper around a fillable 'bslib' page when 'bslib' is installed. For full documentation and examples see Arthur (2026) <https://prigasg.github.io/glasstabs/>.

Authors:George Arthur [aut, cre]

glasstabs_0.4.1.tar.gz
glasstabs_0.4.1.zip(r-4.7-any)glasstabs_0.4.1.zip(r-4.6-any)glasstabs_0.4.1.zip(r-4.5-any)
glasstabs_0.4.1.tgz(r-4.6-any)glasstabs_0.4.1.tgz(r-4.5-any)
glasstabs_0.4.1.tar.gz(r-4.7-any)glasstabs_0.4.1.tar.gz(r-4.6-any)
glasstabs_0.4.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
glasstabs/json (API)

# Install 'glasstabs' in R:
install.packages('glasstabs', repos = c('https://prigasg.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/prigasg/glasstabs/issues

Pkgdown/docs site:https://prigasg.github.io

On CRAN:

Conda:

6.37 score 2 stars 522 downloads 32 exports 30 dependencies

Last updated from:8769140c8d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK146
source / vignettesOK190
linux-releaseOK138
macos-releaseOK89
macos-oldrelOK109
windows-develOK134
windows-releaseOK109
windows-oldrelOK97
wasm-releaseOK106

Exports:appendGlassTabcloseAllGlassSelectscloseGlassMultiSelectcloseGlassSelectdisableGlassTabenableGlassTabglass_select_themeglass_tab_themeglassFilterTagsglassMultiSelectglassMultiSelectServerglassMultiSelectValueglassPageglassSelectglassSelectServerglassSelectValueglassTabConditionglassTabPanelglasstabs_newsglassTabsOutputglassTabsServerglassTabsUIhideGlassTabremoveGlassTabrenderGlassTabsrunGlassExampleshowGlassTabupdateGlassMultiSelectupdateGlassSelectupdateGlassTabBadgeupdateGlassTabsUIuseGlassTabs

Dependencies:base64encbslibcachemclicommonmarkdigestfastmapfontawesomefsgluehtmltoolshttpuvjquerylibjsonlitelaterlifecyclemagrittrmemoisemimeotelpromisesR6rappdirsRcpprlangsassshinysourcetoolswithrxtable

Getting Started with glasstabs
What is glasstabs? | All widgets work in plain fluidPage() and in bs4Dash. They can be usedtogether or independently. | Installation | The one rule: call useGlassTabs() once | Tab widget in 3 minutes | Step 1 — define your tabs | Step 2 — assemble with glassTabsUI() | Step 3 — read the active tab in the server | Multi-select filter | Step 1 — define choices and place the widget | Step 2 — read the selection in the server | Optional reactive helper | Updating from the server | Single-select dropdown | Step 1: add a single-select input | Step 2: read the value in the server | Using them together | Choosing a theme | bs4Dash | A useful starting pattern

Last update: 2026-09-20
Started: 2026-03-06

glasstabs Cheatsheet
One rule | Tabs: basic pattern | Tabs: inside a Shiny module | Tabs: dynamic values and selected | Tabs: server actions | Tabs: common options | Tabs: compact mode (dashboard cards) | Tabs: connected styling | Tabs: attached style and slide transition | Multi-select: basic pattern | Multi-select: update from server | Multi-select: useful arguments | Single-select: basic pattern | Single-select: update from server | Single-select: useful arguments | Tabs: inside bs4Dash | Theme helpers | Input values at a glance | conditionalPanel integration | View the changelog | Common gotchas

Last update: 2026-09-20
Started: 2026-04-10

Multi-Select Filter with glasstabs
Overview | Basic usage | Shiny inputs produced | Initial selection | Checkbox styles | Custom hues for the filled style | Corner shape | Width, grouped choices, and disabled options | Dropdown lifecycle | Show / hide UI chrome | Filter tag pills with glassFilterTags() | Server-side access | Reactive helper | Search and selection summaries | Server-side search for large choice sets | Updating choices and selection from the server | Theming | Built-in presets | Custom theme with glass_select_theme() | Standalone usage — no tabs required | Multiple dropdowns on one page

Last update: 2026-09-20
Started: 2026-03-06

Single-Select Dropdown with glasstabs
Overview | Basic usage | Initial selection | Optional label | Selection styles | Corner shape | Width, grouped choices, and disabled options | Dropdown lifecycle | Searchable and clearable | Server-side search for large choice sets | Explicit "All" option | Server-side access | Reactive helper | Updating choices and selection from the server | Theming | Built-in presets | Custom theme with glass_select_theme() | Standalone usage

Last update: 2026-09-20
Started: 2026-03-12

Publishing a glasstabs Workflow to Posit Connect
Overview | What to test after publishing | Run locally | Manifest | Deploy to Posit Connect | Workflow pattern

Last update: 2026-09-11
Started: 2026-07-05

Animated Tabs with glasstabs
Overview | Basic usage | Reading the active tab in the server | Keyboard navigation | Narrow screens and touch | Indicator styles | Vertical orientation | Placing a filter widget beside the tabs | Theming | Built-in presets | Custom theme with glass_tab_theme() | bs4Dash integration | Multiple tab widgets on one page

Last update: 2026-08-02
Started: 2026-03-06

Responsive and Accessible Tabs
A complete responsive app | Choosing the overflow style | Touch swipes without surprises | Motion and contrast | Experimental fillable page

Last update: 2026-08-02
Started: 2026-08-01

Indicator Styles, Vertical Tabs, and Auto Theming
Overview | Side by side | Vertical orientation | Auto theming with bslib | Putting the pieces together

Last update: 2026-08-01
Started: 2026-07-04

Readme and manuals

Help Manual

Help pageTopics
Append or remove a glass tab at runtimeappendGlassTab removeGlassTab
Close open glass select dropdownscloseAllGlassSelects closeGlassMultiSelect closeGlassSelect
Disable or enable a glass tabdisableGlassTab enableGlassTab
Create a custom color theme for glass select widgetsglass_select_theme
Create a custom color theme for glassTabsUIglass_tab_theme
Shiny tag helper for a filter-tags display area tied to a glassMultiSelectglassFilterTags
Animated glass multi-select dropdown filterglassMultiSelect
Register server-side search for a glassMultiSelect widgetglassMultiSelectServer
Reactive helpers for glassMultiSelect valuesglassMultiSelectValue
Experimental fillable page for glasstabs appsglassPage
Animated glass single-select dropdownglassSelect
Register server-side search for a glassSelect widgetglassSelectServer
Reactive helper for glassSelect valuesglassSelectValue
Build a conditionalPanel condition for a glasstabs widgetglassTabCondition
Define a single glass tab panelglassTabPanel
Display the glasstabs changelogglasstabs_news
Dynamic glass tab UI outputglassTabsOutput
Server logic for glass tabsglassTabsServer
Animated glass-style tab navigation UIglassTabsUI
Render a reactive glass tab UIrenderGlassTabs
Run a built-in glasstabs example apprunGlassExample
Show or hide a glass tabhideGlassTab showGlassTab
Update a glassMultiSelect widgetupdateGlassMultiSelect
Update a glassSelect widgetupdateGlassSelect
Update the badge count on a glass tabupdateGlassTabBadge
Programmatically switch the active glass tabupdateGlassTabsUI
Attach glasstabs CSS and JS dependenciesuseGlassTabs