---
title: ToolbarCommands
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/toolbarcommands
---

# ToolbarCommands

A built-in set of commands for manipulating window toolbars.

## Declaration

```swift
nonisolated struct ToolbarCommands
```

## Overview

Overview These commands are optional and can be explicitly requested by passing a value of this type to the commands(content:) modifier.

## Topics

### Creating the command group

- [init()](swiftui/toolbarcommands/init().md)

## Relationships

### Conforms To

- [Commands](swiftui/commands.md)

## See Also

### Getting built-in command groups

- [SidebarCommands](swiftui/sidebarcommands.md)
- [TextEditingCommands](swiftui/texteditingcommands.md)
- [TextFormattingCommands](swiftui/textformattingcommands.md)
- [ImportFromDevicesCommands](swiftui/importfromdevicescommands.md)
- [InspectorCommands](swiftui/inspectorcommands.md)
- [EmptyCommands](swiftui/emptycommands.md)
