---
title: portrait
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/interfaceorientation/portrait
---

# portrait

The device is in portrait mode, with the top of the device on top.

## Declaration

```swift
static let portrait: InterfaceOrientation
```

## See Also

### Getting an orientation

- [portraitUpsideDown](swiftui/interfaceorientation/portraitupsidedown.md)
- [landscapeLeft](swiftui/interfaceorientation/landscapeleft.md)
- [landscapeRight](swiftui/interfaceorientation/landscaperight.md)
