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

# label

The text displayed alongside the slider.

## Declaration

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

## Discussion

Discussion Set this property to nil to hide the label.

## See Also

### Configuring the slider

- [slider](appkit/nsslidertouchbaritem/slider.md)
- [view](appkit/nsslidertouchbaritem/view.md)
