This kind of toggle buttons are available in many of Swiftui Native Applications - Can someone tell how can we recreate it ?
Is this Native to Swiftui ?
That's a segmentedControl.
Here is how to get it in SwiftUI: https://www.hackingwithswift.com/quick-start/swiftui/how-to-create-a-segmented-control-and-read-values-from-it