YYCurvedTabbar
A curved tabbar with animation.
Preview
Features
- Custom selection animation
YYTabbarConfiguration.SelectionStyle
- Custom background
YYTabbarConfiguration.ContentStyle
- Custom Curve
YYTabbarConfiguration.CurveStyle
and more…
Usage
VStack {
Text(items[selection].title)
.frame(maxWidth: .infinity,maxHeight: .infinity,alignment: .center)
}
.overlay(alignment: .bottom) {
YYCurvedTabbar(items: items, selection: $selection)
}
.ignoresSafeArea()