Modifiers
buttonStyle
Sets the button style for button views.
buttonStyle(style)
| Parameter | Type | Description |
|---|---|---|
style | 'automatic' | 'bordered' | 'borderedProminent' | 'borderless' | 'glass' | 'glassProminent' | 'plain' | The button style. 'glass' and 'glassProminent' are available on iOS 26+ and tvOS 26+ only. |
Sets the button style for button views.
Returns: ModifierConfig
See: Official SwiftUI documentation.
Works with
Sources
The original Expo docs for this page:
- buttonStyle (Modifiers) (
source-of-truth/versions/v57.0.0/sdk/ui/swift-ui/modifiers.md)