<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ToolbarOverflowMenu",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI19ToolbarOverflowMenuV"
  },
  "title" : "ToolbarOverflowMenu"
}
-->

# ToolbarOverflowMenu

The overflow menu of a toolbar.

```
nonisolated struct ToolbarOverflowMenu<Content> where Content : View
```

## Overview

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

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

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

## Topics

### Creating a toolbar overflow menu

[`init(content:)`](/documentation/SwiftUI/ToolbarOverflowMenu/init(content:))

Creates toolbar overflow menu content.



---

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)