<!--
{
  "availability" : [
    "macOS: 10.12.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSStatusItem/Behavior-swift.struct/removalAllowed",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSStatusItemBehavior@NSStatusItemBehaviorRemovalAllowed"
  },
  "title" : "removalAllowed"
}
-->

# removalAllowed

A status item that allows interactive removal.

```
static var removalAllowed: NSStatusItem.Behavior { get }
```

## Discussion

Status items with this behavior allow interactive removal from the menu bar. Upon removal, the item’s [`isVisible`](/documentation/AppKit/NSStatusItem/isVisible) property changes to <doc://com.apple.documentation/documentation/Swift/false>. This change is observable using key-value observation.

---

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)