SwiftUI Custom Tab Bar With Per-Tab Navigation, Step by Step
To create a SwiftUI custom tab bar, define an enum for your tabs and store the selected case in a @State property (a value SwiftUI watches and redraws the screen for). Then draw your own bar with