GlassProminentButtonStyle

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

StructureiOS 26.0+macOS 26.0+tvOS 26.0+watchOS 26.0+GlassProminentButtonStyle in SwiftUI

Declaration

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

Overview

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

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

See also

More in Styles.