<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/NSParagraphStyleAttributeName",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@NSParagraphStyleAttributeName"
  },
  "title" : "NSParagraphStyleAttributeName"
}
-->

# NSParagraphStyleAttributeName

The paragraph style of the text.

```
extern NSAttributedStringKey const NSParagraphStyleAttributeName;
```

## Discussion

The value of this attribute is an [`NSParagraphStyle`](/documentation/UIKit/NSParagraphStyle) object. Use this attribute to apply multiple attributes to a range of text. If you do not specify this attribute, the string uses the default paragraph attributes, as returned by the [`default`](/documentation/UIKit/NSParagraphStyle/default) method of [`NSParagraphStyle`](/documentation/UIKit/NSParagraphStyle).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)