---
title: ascent
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/text/layout/typographicbounds/ascent
---

# ascent

The ascent of the element.

## Declaration

```swift
var ascent: CGFloat
```
