---
title: principal
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/toolbaritemplacement/principal
---

# principal

A placement for the principal item section.

## Declaration

```swift
static let principal: ToolbarItemPlacement
```

## Discussion

Discussion Principal actions are key units of functionality that receive prominent placement. For example, the location field for a web browser is a principal item. In macOS and in Mac Catalyst apps, the system places the principal item in the center of the toolbar. In iOS, iPadOS, and tvOS, the system places the principal item in the center of the navigation bar. This item takes precedent over a title specified through View/navigationTitle.

## See Also

### Getting semantic placement

- [automatic](swiftui/toolbaritemplacement/automatic.md)
- [status](swiftui/toolbaritemplacement/status.md)
