<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSStatusBar/thickness",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSStatusBar(py)thickness"
  },
  "title" : "thickness"
}
-->

# thickness

The thickness of the status bar, in pixels.

```
var thickness: CGFloat { get }
```

## Discussion

The default value of this property is `20.0`. The status bar returned by the [`system`](/documentation/AppKit/NSStatusBar/system) has a thickness of 22 pixels, which corresponds to the thickness of the menu bar.

---

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)