---
title: title
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpbarbutton/title
---

# title

The title displayed on the bar button.

## Declaration

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

## Discussion

Discussion Setting this property has an effect only when the button type is CPBarButton.Type.text.

## See Also

### Configuring the Button

- [isEnabled](carplay/cpbarbutton/isenabled.md)
- [image](carplay/cpbarbutton/image.md)
