Connect with us

Code

MaterialTabBar – A customizable floating tab bar with a material background

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 on GitHub: https://github.com/bodhichristian/MaterialTabBar
Platform: iOS
⭐️: 31
Advertisement

Trending