<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIMenuElement/Attributes",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIMenuElementAttributes"
  },
  "title" : "UIMenuElement.Attributes"
}
-->

# UIMenuElement.Attributes

Attributes that determine the style of the menu element.

```
struct Attributes
```

## Topics

### Attributes

[`destructive`](/documentation/UIKit/UIMenuElement/Attributes/destructive)

An attribute indicating the destructive style.

[`disabled`](/documentation/UIKit/UIMenuElement/Attributes/disabled)

An attribute indicating the disabled style.

[`hidden`](/documentation/UIKit/UIMenuElement/Attributes/hidden)

An attribute indicating the hidden style.

[`keepsMenuPresented`](/documentation/UIKit/UIMenuElement/Attributes/keepsMenuPresented)

An attribute indicating that the menu remains presented after firing the element’s action instead of dismissing.

### Initializers

[`init(rawValue:)`](/documentation/UIKit/UIMenuElement/Attributes/init(rawValue:))

Creates a menu-element attributes structure with the specified raw value.



---

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)