<!--
{
  "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/ToolbarItemPlacement/automatic",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI20ToolbarItemPlacementV9automaticACvpZ"
  },
  "title" : "automatic"
}
-->

# automatic

A placement the system positions automatically.

```
static let automatic: ToolbarItemPlacement
```

## Discussion

In macOS and in Mac Catalyst apps, the system places items in the
current toolbar section in order of leading to trailing. On watchOS,
only the first item appears, pinned beneath the navigation bar.

In iPadOS, the system places items in the center of the navigation bar
if the navigation bar supports customization. Otherwise, it places
items in the trailing position of the navigation bar.

In iOS, and tvOS, the system places items in the trailing
position of the navigation bar.

In iOS, iPadOS, and macOS, the system uses the space available to the
toolbar when determining how many items to render in the toolbar. If not
all items fit in the available space, an overflow menu may be created
and remaining items placed in that menu.

---

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)