---
title: lineSpacing
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/environmentvalues/linespacing
---

# lineSpacing

The distance in points between the bottom of one line fragment and the top of the next.

## Declaration

```swift
var lineSpacing: CGFloat { get set }
```

## Discussion

Discussion This value is always nonnegative.

## See Also

### Formatting multiline text

- [lineSpacing(_:)](swiftui/view/linespacing(_:).md)
- [multilineTextAlignment(_:)](swiftui/view/multilinetextalignment(_:).md)
- [multilineTextAlignment](swiftui/environmentvalues/multilinetextalignment.md)
