glass
A button style that applies a Liquid Glass effect based on the button’s context.
Declaration
@MainActor @preconcurrency static var glass: GlassButtonStyle { get }Mentioned in
Discussion
In tvOS, this button style applies a Liquid Glass effect regardless of whether the button has focus.
To apply this style to a button, or to a view that contains buttons, use the buttonStyle(_:) modifier.