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

# font

The font used for the tab view’s label text.

## Declaration

```swift
var font: NSFont { get set }
```

## Discussion

Discussion The default value of this property is the message font of default size (see messageFont(ofSize:)), which is equivalent to the system font of default size. Tab height is adjusted automatically to accommodate a new font size. If the view allows truncating, tab labels are truncated as needed.

## See Also

### Related Documentation

- [allowsTruncatedLabels](appkit/nstabview/allowstruncatedlabels.md)
