Contents

glassProminent

A button style that applies a prominent Liquid Glass effect based on the button’s context.

Declaration

@MainActor @preconcurrency static var glassProminent: GlassProminentButtonStyle { get }

Discussion

In tvOS, this button style applies a Liquid Glass effect regardless of whether the button has focus. This style is similar to the borderedProminent style.

To apply this style to a button, or to a view that contains buttons, use the buttonStyle(_:) modifier.

See Also

Getting built-in button styles