---
title: leadingPadding
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nstextlayoutfragment/leadingpadding
---

# leadingPadding

The amount of margin space reserved during paragraph layout between the leading edge of the text layout fragment and the start of the lines in the paragraph.

## Declaration

```swift
var leadingPadding: CGFloat { get }
```

## Discussion

Discussion This is with respect to according to the primary writing direction of the paragraph and the start of the lines in the paragraph.

## See Also

### Defining margins and padding

- [bottomMargin](uikit/nstextlayoutfragment/bottommargin.md)
- [topMargin](uikit/nstextlayoutfragment/topmargin.md)
- [trailingPadding](uikit/nstextlayoutfragment/trailingpadding.md)
