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

# title

The receiver’s title.

## Declaration

```swift
var title: String { get set }
```

## Discussion

Discussion The title of the NSBox. By default, a box’s title is “Title.” If the size of the new title is different from that of the old title, the content view is resized to absorb the difference.

## See Also

### Configuring Boxes

- [borderRect](appkit/nsbox/borderrect.md)
- [boxType](appkit/nsbox/boxtype-swift.property.md)
- [borderType](appkit/nsbox/bordertype.md)
- [isTransparent](appkit/nsbox/istransparent.md)
- [titleFont](appkit/nsbox/titlefont.md)
- [titlePosition](appkit/nsbox/titleposition-swift.property.md)
- [titleCell](appkit/nsbox/titlecell.md)
- [titleRect](appkit/nsbox/titlerect.md)
