---
title: type
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmenuitembadge/type
---

# type

The type of items the badge displays.

## Declaration

```swift
var type: NSMenuItemBadge.BadgeType { get }
```

## Discussion

Discussion If you create a badge with a custom string, this value is NSMenuItemBadge.BadgeType.none.

## See Also

### Accessing menu item badge attributes

- [itemCount](appkit/nsmenuitembadge/itemcount.md)
- [stringValue](appkit/nsmenuitembadge/stringvalue-fc9f.md)
