---
title: textStyle
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nstouchbaritem/identifier-swift.struct/textstyle
---

# textStyle

The identifier for a Touch Bar item used to control the text style.

## Declaration

```swift
static let textStyle: NSTouchBarItem.Identifier
```

## See Also

### Creating identifiers for text items

- [textFormat](appkit/nstouchbaritem/identifier-swift.struct/textformat.md)
- [textAlignment](appkit/nstouchbaritem/identifier-swift.struct/textalignment.md)
- [textColorPicker](appkit/nstouchbaritem/identifier-swift.struct/textcolorpicker.md)
- [textList](appkit/nstouchbaritem/identifier-swift.struct/textlist.md)
