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

# CommandGroupPlacement

The standard locations that you can place new command groups relative to.

```
struct CommandGroupPlacement
```

## Overview

The names of these placements aren’t visible in the user interface, but
the discussion for each placement lists the items that it includes.

## Topics

### App interactions

[`appInfo`](/documentation/SwiftUI/CommandGroupPlacement/appInfo)

Placement for commands that provide information about the app,
the terms of the user’s license agreement, and so on.

[`appSettings`](/documentation/SwiftUI/CommandGroupPlacement/appSettings)

Placement for commands that expose app settings and
preferences.

[`appTermination`](/documentation/SwiftUI/CommandGroupPlacement/appTermination)

Placement for commands that result in app termination.

[`appVisibility`](/documentation/SwiftUI/CommandGroupPlacement/appVisibility)

Placement for commands that control the visibility of running
apps.

[`systemServices`](/documentation/SwiftUI/CommandGroupPlacement/systemServices)

Placement for commands that expose services other apps provide.

### File manipulation

[`importExport`](/documentation/SwiftUI/CommandGroupPlacement/importExport)

Placement for commands that relate to importing and exporting
data using formats that the app doesn’t natively support.

[`newItem`](/documentation/SwiftUI/CommandGroupPlacement/newItem)

Placement for commands that create different kinds of documents.

[`printItem`](/documentation/SwiftUI/CommandGroupPlacement/printItem)

Placement for commands related to printing app content.

[`saveItem`](/documentation/SwiftUI/CommandGroupPlacement/saveItem)

Placement for commands that save open documents and close
windows.

### Content updates

[`pasteboard`](/documentation/SwiftUI/CommandGroupPlacement/pasteboard)

Placement for commands that interact with the Clipboard and
manipulate content that is currently selected in the app’s view
hierarchy.

[`textEditing`](/documentation/SwiftUI/CommandGroupPlacement/textEditing)

Placement for commands that manipulate and transform text
selections.

[`textFormatting`](/documentation/SwiftUI/CommandGroupPlacement/textFormatting)

Placement for commands that manipulate and transform the styles
applied to text selections.

[`undoRedo`](/documentation/SwiftUI/CommandGroupPlacement/undoRedo)

Placement for commands that control the Undo Manager.

### Bars

[`sidebar`](/documentation/SwiftUI/CommandGroupPlacement/sidebar)

Placement for commands that control the app’s sidebar and full-screen
modes.

[`toolbar`](/documentation/SwiftUI/CommandGroupPlacement/toolbar)

Placement for commands that manipulate the toolbar.

### Windows

[`singleWindowList`](/documentation/SwiftUI/CommandGroupPlacement/singleWindowList)

Placement for commands that describe and reveal any windows that the
app defines.

[`windowArrangement`](/documentation/SwiftUI/CommandGroupPlacement/windowArrangement)

Placement for commands that arrange all of an app’s windows.

[`windowList`](/documentation/SwiftUI/CommandGroupPlacement/windowList)

Placement for commands that describe and reveal the app’s open
windows.

[`windowSize`](/documentation/SwiftUI/CommandGroupPlacement/windowSize)

Placement for commands that control the size of the window.

### Help

[`help`](/documentation/SwiftUI/CommandGroupPlacement/help)

Placement for commands that present documentation and helpful
information to people.



---

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)