<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PrimitiveButtonStyle/accessoryBarAction",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI20PrimitiveButtonStylePA2A018AccessoryBarActiondE0VRszrlE09accessorygH0AEvpZ"
  },
  "title" : "accessoryBarAction"
}
-->

# accessoryBarAction

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

```
@MainActor @preconcurrency static var accessoryBarAction: AccessoryBarActionButtonStyle { get }
```

## Discussion

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.

---

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)