Custom toggle implementation Demonstration of using Toggle component of SwiftUI to use them as button or toggles as per need and leverage built-in transitions and animations