<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ToolbarItemGroup",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI16ToolbarItemGroupV"
  },
  "title" : "ToolbarItemGroup"
}
-->

# ToolbarItemGroup

A model that represents a group of `ToolbarItem`s which can be placed in
the toolbar or navigation bar.

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

## Topics

### Creating a toolbar item group

[`init(placement:content:)`](/documentation/SwiftUI/ToolbarItemGroup/init(placement:content:))

Creates a toolbar item group with a specified placement and content.

[`init(placement:content:label:)`](/documentation/SwiftUI/ToolbarItemGroup/init(placement:content:label:))

Creates a toolbar item group with the specified placement, content,
and a label describing that content.

### Supporting types

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

A view that represents the view of a toolbar item group with a specified
label.



---

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)