---
title: badge
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmenuitem/badge
---

# badge

A badge used to provide additional quantitative information specific to the menu item, such as the number of available updates.

## Declaration

```swift
@NSCopying var badge: NSMenuItemBadge? { get set }
```

## Discussion

Discussion The default value of this property is nil.
