GitHub

Tab Bar

iOS-style bottom navigation with icon+label items. Add the .tabbar modifier to a .footer to create mobile tab navigation.

Basic

Preview

With Badges

Preview

Glass

Preview

Inside a Page

Preview
My App

Scroll content here. The tab bar stays at the bottom as a sticky footer.

Reference

Class Description
.footer.tabbarModifier on .footer — resets padding/gap for tab items
.tabbar-itemNavigation button (flex column with icon + label)
.tabbar-item-activeActive item state
[aria-selected="true"]Alternative active state (ARIA)
[data-state="active"]Alternative active state (data-state)
.tabbar-iconIcon inside an item (1.5rem)
.tabbar-labelText label below icon
.tabbar-badgeNotification badge (number)
.tabbar-badge-dotDot indicator badge
.footer.glassGlass variant (inherited from .footer)
Note: The .tabbar class is a modifier for .footer. Background, border, glass, and color variants all come from the .footer base class. Inside a .page, the footer is automatically sticky at the bottom.