---
title: NSUserInterfaceLayoutOrientation.vertical
framework: appkit
role: symbol
role_heading: Case
path: appkit/nsuserinterfacelayoutorientation/vertical
---

# NSUserInterfaceLayoutOrientation.vertical

The vertical orientation.

## Declaration

```swift
case vertical
```

## Discussion

Discussion Use this constant in the 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.

## See Also

### Constants

- [NSUserInterfaceLayoutOrientation.horizontal](appkit/nsuserinterfacelayoutorientation/horizontal.md)
