<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/AccessoryBarActionButtonStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI29AccessoryBarActionButtonStyleV"
  },
  "title" : "AccessoryBarActionButtonStyle"
}
-->

# AccessoryBarActionButtonStyle

A button style that you use for extra actions in an accessory toolbar.

```
nonisolated struct AccessoryBarActionButtonStyle
```

## Overview

Use this style for buttons that perform extra actions relative to the
accessory toolbar’s main functions, like adding or editing filters.
This style also affects other view types that you apply a button style to,
like [`Toggle`](/documentation/SwiftUI/Toggle), [`Picker`](/documentation/SwiftUI/Picker), and [`Menu`](/documentation/SwiftUI/Menu) instances.

Use [`accessoryBarAction`](/documentation/SwiftUI/PrimitiveButtonStyle/accessoryBarAction) to construct this style.

## Topics

### Creating the button style

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

Creates an accessory toolbar action button style

### Supporting types

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

Creates a view that represents the body of a button.

## Relationships

### Conforms To

[`PrimitiveButtonStyle`](/documentation/SwiftUI/PrimitiveButtonStyle)

---

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)