<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PrimitiveButtonStyle/plain",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI20PrimitiveButtonStylePA2A05PlaindE0VRszrlE5plainAEvpZ"
  },
  "title" : "plain"
}
-->

# plain

A button style that doesn’t style or decorate its content while idle,
but may apply a visual effect to indicate the pressed, focused, or
enabled state of the button.

```
@MainActor @export(implementation) @preconcurrency static var plain: PlainButtonStyle { get }
```

## Discussion

To apply this style to a button, or to a view that contains buttons, use
the [`buttonStyle(_:)`](/documentation/SwiftUI/View/buttonStyle(_:)) modifier.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)