<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/NavigationSplitViewStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI24NavigationSplitViewStyleP"
  },
  "title" : "NavigationSplitViewStyle"
}
-->

# NavigationSplitViewStyle

A type that specifies the appearance and interaction of navigation split
views within a view hierarchy.

```
@MainActor @preconcurrency protocol NavigationSplitViewStyle
```

## Overview

To configure the navigation split view style for a view hierarchy, use the
[`navigationSplitViewStyle(_:)`](/documentation/SwiftUI/View/navigationSplitViewStyle(_:)) modifier.

A type conforming to this protocol inherits `@preconcurrency @MainActor`
isolation from the protocol if the conformance is included in the type’s
base declaration:

```
struct MyCustomType: Transition {
    // `@preconcurrency @MainActor` isolation by default
}
```

Isolation to the main actor is the default, but it’s not required. Declare
the conformance in an extension to opt out of main actor isolation:

```
extension MyCustomType: Transition {
    // `nonisolated` by default
}
```

## Topics

### Creating built-in styles

[`automatic`](/documentation/SwiftUI/NavigationSplitViewStyle/automatic)

A navigation split style that resolves its appearance automatically
based on the current context.

[`balanced`](/documentation/SwiftUI/NavigationSplitViewStyle/balanced)

A navigation split style that reduces the size of the detail content
to make room when showing the leading column or columns.

[`prominentDetail`](/documentation/SwiftUI/NavigationSplitViewStyle/prominentDetail)

A navigation split style that attempts to maintain the size of the
detail content when hiding or showing the leading columns.

### Creating custom styles

[`makeBody(configuration:)`](/documentation/SwiftUI/NavigationSplitViewStyle/makeBody(configuration:))

Creates a view that represents the body of a navigation split view.

[`NavigationSplitViewStyle.Configuration`](/documentation/SwiftUI/NavigationSplitViewStyle/Configuration)

The properties of a navigation split view instance.

[`Body`](/documentation/SwiftUI/NavigationSplitViewStyle/Body)

A view that represents the body of a navigation split view.

### Supporting types

[`AutomaticNavigationSplitViewStyle`](/documentation/SwiftUI/AutomaticNavigationSplitViewStyle)

A navigation split style that resolves its appearance automatically
based on the current context.

[`BalancedNavigationSplitViewStyle`](/documentation/SwiftUI/BalancedNavigationSplitViewStyle)

A navigation split style that reduces the size of the detail content
to make room when showing the leading column or columns.

[`ProminentDetailNavigationSplitViewStyle`](/documentation/SwiftUI/ProminentDetailNavigationSplitViewStyle)

A navigation split style that attempts to maintain the size of the
detail content when hiding or showing the leading columns.

[`NavigationSplitViewStyleConfiguration`](/documentation/SwiftUI/NavigationSplitViewStyleConfiguration)

The properties of a navigation split view instance.



---

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)