---
title: titleTextAttributes
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitabbaritemstateappearance/titletextattributes
---

# titleTextAttributes

String attributes to apply to the text of the tab bar item’s title.

## Declaration

```swift
var titleTextAttributes: [NSAttributedString.Key : Any] { get set }
```

## Discussion

Discussion If you don’t specify font or color attributes for the text, UIKit supplies appropriate default values. For a list of possible keys, see NSAttributedString.Key.

## See Also

### Configuring the item’s title

- [titlePositionAdjustment](uikit/uitabbaritemstateappearance/titlepositionadjustment.md)
