<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/BorderedButtonStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI19BorderedButtonStyleV"
  },
  "title" : "BorderedButtonStyle"
}
-->

# BorderedButtonStyle

A button style that applies standard border artwork based on the button’s
context.

```
nonisolated struct BorderedButtonStyle
```

## Overview

You can also use [`bordered`](/documentation/SwiftUI/PrimitiveButtonStyle/bordered) to construct this style.

## Topics

### Creating the button style

[`init()`](/documentation/SwiftUI/BorderedButtonStyle/init())

Creates a bordered button style.

### Supporting types

[`makeBody(configuration:)`](/documentation/SwiftUI/BorderedButtonStyle/makeBody(configuration:))

Creates a view that represents the body of a button.

### Deprecated symbols

[`init(tint:)`](/documentation/SwiftUI/BorderedButtonStyle/init(tint:))

Creates a bordered button style with a tint color.



---

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)