<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/toolbarTitleMenu(content:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewPAAE16toolbarTitleMenu7contentQrqd__yXE_tAaBRd__lF"
  },
  "title" : "toolbarTitleMenu(content:)"
}
-->

# toolbarTitleMenu(content:)

Configure the title menu of a toolbar.

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

## Parameters

`content`

The content associated to the toolbar title menu.

## Discussion

A title menu represent common functionality that can be done on the
content represented by your app’s toolbar or navigation title. This
menu may be populated from your app’s commands like
[`saveItem`](/documentation/SwiftUI/CommandGroupPlacement/saveItem) or
[`printItem`](/documentation/SwiftUI/CommandGroupPlacement/printItem).

```
ContentView()
    .toolbar {
        ToolbarTitleMenu()
    }
```

You can provide your own set of actions to override this behavior.

```
ContentView()
    .toolbarTitleMenu {
        DuplicateButton()
        PrintButton()
    }
```

In iOS and iPadOS, this will construct a menu that can be presented by
tapping the navigation title in the app’s 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)