widgets/surfaces/glass_tab_bar library

Classes

DividerSettings
Configuration for optional vertical dividers between tabs in GlassTabBar.
GlassSearchBarConfig
Configuration for the morphing search bar in GlassTabBar.searchable.
GlassSegment
Configuration for a single segment in GlassSegmentedControl.
GlassTab
Configuration for a tab in GlassTabBar (all constructors).
GlassTabBar
The iOS 26 structural bottom navigation bar.
GlassTabBarAccessoryPlacementScope
Provides the current GlassTabBarAccessoryPlacement to the widget tree.
GlassTabBarExtraButton
Configuration for the extra button in GlassTabBar.
GlassTabBarMinimizeController
Drives GlassTabBar.minimizable's minimize state from scrolling — the equivalent of SwiftUI's .tabBarMinimizeBehavior(_:).
GlassTabBarScrollSample
A single sample of a scroll view's state, fed to GlassTabBarMinimizeController.handleSample.
GlassTabBarTrailingButton
The plain action button in GlassTabBar.minimizable's trailing slot — the circular glass pill the searchable placement uses for search, carrying an ordinary tap action instead. The generalized form of SwiftUI's Tab(role: .search) trailing circle.
JellyClipper
Clipper that matches the shape and physics of the jelly indicator.

Enums

GlassBarMinimizeBehavior
How a bar minimizes in response to scrolling.
GlassExtraButtonPlacement
Where a GlassTabBarExtraButton appears in a non-searchable GlassTabBar.bottom.
GlassExtraButtonPosition
Where a GlassTabBarExtraButton appears relative to the search pill in a searchable tab bar.
GlassTabBarAccessoryPlacement
Defines the visual placement state of a GlassTabBar bottom accessory.
GlassTabPillAnchor
Controls how the tab pill is anchored horizontally during the morph animation in a searchable tab bar.
MaskingQuality
Rendering quality for the liquid glass masking effect in GlassTabBar.
SegmentDragBehavior
What a horizontal drag means on a scrollable segmented control.
SegmentSelectionAlignment
Where a scrollable segmented control keeps its selected segment.

Functions

resolveAccessoryPlacement({required GlassTabBarAccessoryPlacement? explicit, required bool minimized, required bool isMinimizablePlacement}) → GlassTabBarAccessoryPlacement
Resolves the placement an accessory should actually render at.