A customizable, floating tab bar, with a material background, written entirely with SwiftUI.

  • TabBarContainer binds your apps views to tabs, using @ViewBuilder.
  • TabBarItemPreferenceKey is used to pass data upwards from child views to parent.
  • matchedGeometryEffect adds selective highlighting to a floating capsule, ultraThinMaterial tab bar.
  • symbolEffect adds animations to icons when a user switches tabs.

MaterialTabBar 001


View Github