<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSParagraphStyleAttributeName",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSParagraphStyleAttributeName"
  },
  "title" : "NSParagraphStyleAttributeName"
}
-->

# NSParagraphStyleAttributeName

The paragraph style of the text.

```
extern NSAttributedStringKey NSParagraphStyleAttributeName;
```

## Discussion

The value of this attribute is an [`NSParagraphStyle`](/documentation/AppKit/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/AppKit/NSParagraphStyle/default) method of [`NSParagraphStyle`](/documentation/AppKit/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)