<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/MenuOrder",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI9MenuOrderV"
  },
  "title" : "MenuOrder"
}
-->

# MenuOrder

The order in which a menu presents its content.

```
struct MenuOrder
```

## Overview

You can configure the preferred menu order using the
[`menuOrder(_:)`](/documentation/SwiftUI/View/menuOrder(_:)) view modifier.

## Topics

### Getting menu orders

[`automatic`](/documentation/SwiftUI/MenuOrder/automatic)

The ordering of the menu chosen by the system for the current context.

[`fixed`](/documentation/SwiftUI/MenuOrder/fixed)

Order items from top to bottom.

[`priority`](/documentation/SwiftUI/MenuOrder/priority)

Keep the first items closest to user’s interaction point.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)