<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSUserInterfaceLayoutOrientation/vertical",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSUserInterfaceLayoutOrientation@NSUserInterfaceLayoutOrientationVertical"
  },
  "title" : "NSUserInterfaceLayoutOrientation.vertical"
}
-->

# NSUserInterfaceLayoutOrientation.vertical

The vertical orientation.

```
case vertical
```

## Discussion

Use this constant in the [`orientation`](/documentation/AppKit/NSStackView/orientation) property to specify a vertical layout for the stack view. Use it to specify the vertical user interface axis for clipping resistance and hugging priority.

The leading, center, and trailing gravity areas in a vertical stack view are arranged top to bottom.

---

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)