<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ToolbarTitleDisplayMode/automatic",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI23ToolbarTitleDisplayModeV9automaticACvpZ"
  },
  "title" : "automatic"
}
-->

# automatic

The automatic mode.

```
static var automatic: ToolbarTitleDisplayMode { get }
```

## Discussion

For root content in a navigation stack in iOS, iPadOS, or tvOS
this behavior will:

- Default to [`large`](/documentation/SwiftUI/ToolbarTitleDisplayMode/large)
  when a navigation title is configured.
- Default to [`inline`](/documentation/SwiftUI/ToolbarTitleDisplayMode/inline)
  when no navigation title is provided.

In all platforms, content pushed onto a navigation stack will use the
behavior of the content already on the navigation stack. This
has no effect in macOS.

---

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)