---
title: alignment
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/attributescopes/swiftuiattributes/alignment
---

# alignment

The horizontal alignment of a paragraph.

## Declaration

```swift
let alignment: AttributeScopes.CoreTextAttributes.TextAlignmentAttribute
```
