---
title: stringValue
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmenuitembadge/stringvalue-fc9f
---

# stringValue

The string representation of the badge when it displays.

## Declaration

```swift
var stringValue: String? { get }
```

## See Also

### Accessing menu item badge attributes

- [itemCount](appkit/nsmenuitembadge/itemcount.md)
- [type](appkit/nsmenuitembadge/type.md)
