BorderlessButtonStyle

A button style that doesn't apply a border.

StructureiOS 13.0+macOS 10.15+tvOS 17.0+watchOS 8.0+BorderlessButtonStyle in SwiftUI

Declaration

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

Overview

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

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

See also

More in Styles.