<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/toolbarOverflowMenu(content:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewPAAE19toolbarOverflowMenu7contentQrqd__yXE_tAaBRd__lF"
  },
  "title" : "toolbarOverflowMenu(content:)"
}
-->

# toolbarOverflowMenu(content:)

Configures the overflow menu of a toolbar.

```
nonisolated func toolbarOverflowMenu<C>(@ContentBuilder content: () -> C) -> some View where C : View
```

## Parameters

`content`

The content of the overflow menu.

## Discussion

An overflow menu represents actions that are always placed in the
toolbar’s overflow menu, regardless of the toolbar mode, platform,
or customizability.

```
ContentView()
    .toolbarOverflowMenu {
        Button("Action 1") { }
        Button("Action 2") { }
    }
```

In iOS and visionOS, this content is placed into the overflow menu
in the navigation bar.

---

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)