SwiftUI Button: Custom Styles, Variants, and Best Practices
SwiftUI provides different APIs to style buttons. You can use system styling using view modifiers or custom button styles. While writing this article, I learned about PrimitiveButtonStyle, which allows you to define both custom interactions and styling.
Read the article