---
title: top
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uirectedge/top
---

# top

The top edge of the rectangle.

## Declaration

```swift
static var top: UIRectEdge { get }
```

## See Also

### Edges

- [left](uikit/uirectedge/left.md)
- [bottom](uikit/uirectedge/bottom.md)
- [right](uikit/uirectedge/right.md)
- [all](uikit/uirectedge/all.md)
