<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSMenuItemBadge/type",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMenuItemBadge(py)type"
  },
  "title" : "type"
}
-->

# type

The type of items the badge displays.

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

## Discussion

If you create a badge with a custom string, this value is [`NSMenuItemBadge.BadgeType.none`](/documentation/AppKit/NSMenuItemBadge/BadgeType/none).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)