---
title: top
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/unitpoint/top
---

# top

A point that’s centered horizontally on the top edge of a view.

## Declaration

```swift
static let top: UnitPoint
```

## Discussion

Discussion This point occupies the position where the horizontal and vertical alignment guides intersect for top alignment.

## See Also

### Getting top points

- [topLeading](swiftui/unitpoint/topleading.md)
- [topTrailing](swiftui/unitpoint/toptrailing.md)
