BorderedButtonStyle

A button style that applies standard border artwork based on the button's context.

StructureiOS 15.0+macOS 10.15+tvOS 13.0+watchOS 7.0+BorderedButtonStyle in SwiftUI

Declaration

React
type BorderedButtonStyle = SwiftOpaque<'BorderedButtonStyle'>;
Swift
nonisolated struct BorderedButtonStyle

Overview

You can also use PrimitiveButtonStyle.bordered to construct this style.

From Apple’s SwiftUI documentation. Code samples there are Swift.

See also

More in Styles.