Interactive previews iPhone
Button Styles
A type that applies standard interaction behavior and a custom appearance to all buttons within a view hierarchy
Platform Compatibility
iOS 13.0+ iPadOS 13.0+ macOS 10.15+ watchOS 6.0+ tvOS 13.0+ visionOS 1.0+
Tags
SwiftUI Code
HStack {
Button("Tap Me", action: action)
.buttonStyle(.plain)
Button("Tap Me", action: action)
.buttonStyle(.borderless)
Button("Tap Me", action: action)
.buttonStyle(.bordered)
Button("Tap Me", action: action)
.buttonStyle(.borderedProminent)
}Found an issue or have a suggestion?
Created: May 30, 2025Updated: December 27, 2025
More Button Components
View allGlass Button Styles
A button style that applies glass border artwork based on the button’s context
Explore Other Components
Browse allTabsPickerStyle
A picker style that presents options as segmented tabs. On macOS, this style produces a segmented picker with a visual treatment that distinguishes tab navigation from value selection. On iOS, tvOS, and visionOS, the visual appearance matches that of the standard standard .segmented style. On all supported platforms, VoiceOver announces options as tabs.
Future DatePicker
Creates an instance that selects multiple dates on or after some start date