---
title: thickness
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsstatusbar/thickness
---

# thickness

The thickness of the status bar, in pixels.

## Declaration

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

## Discussion

Discussion The default value of this property is 20.0. The status bar returned by the system has a thickness of 22 pixels, which corresponds to the thickness of the menu bar.

## See Also

### Getting Status-Bar Attributes

- [isVertical](appkit/nsstatusbar/isvertical.md)
