---
title: automatic
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/toolbarplacement/automatic
---

# automatic

The primary toolbar.

## Declaration

```swift
static var automatic: ToolbarPlacement { get }
```

## Discussion

Discussion Depending on the context, this may refer to the navigation bar of an app on iOS, or watchOS, the tab bar of an app on tvOS, or the window toolbar / window titlebar of an app on macOS.

## See Also

### Getting placements

- [accessoryBar(id:)](swiftui/toolbarplacement/accessorybar(id:).md)
- [bottomBar](swiftui/toolbarplacement/bottombar.md)
- [bottomOrnament](swiftui/toolbarplacement/bottomornament.md)
- [navigationBar](swiftui/toolbarplacement/navigationbar.md)
- [tabBar](swiftui/toolbarplacement/tabbar.md)
- [windowToolbar](swiftui/toolbarplacement/windowtoolbar.md)
