<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSAttributedString/Key/paragraphStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSParagraphStyleAttributeName"
  },
  "title" : "paragraphStyle"
}
-->

# paragraphStyle

The paragraph style of the text.

```
static let paragraphStyle: NSAttributedString.Key
```

## Discussion

The value of this attribute is an <doc://com.apple.documentation/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 <doc://com.apple.documentation/documentation/AppKit/NSParagraphStyle/default> method of <doc://com.apple.documentation/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)