<!--
{
  "availability" : [
    "iOS: 27.1.0 -",
    "iPadOS: 27.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ToolbarVerticalBehavior",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI23ToolbarVerticalBehaviorV"
  },
  "title" : "ToolbarVerticalBehavior"
}
-->

# ToolbarVerticalBehavior

A behavior that determines whether the vertical bar is used.

```
struct ToolbarVerticalBehavior
```

## Topics

### Getting behavior options

[`static let automatic: ToolbarVerticalBehavior`](/documentation/SwiftUI/ToolbarVerticalBehavior/automatic)

The system determines whether the vertical bar is rendered.

[`static let disabled: ToolbarVerticalBehavior`](/documentation/SwiftUI/ToolbarVerticalBehavior/disabled)

The vertical bar is disabled.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)