<!--
{
  "availability" : [
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/MenuBarExtraStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17MenuBarExtraStyleP"
  },
  "title" : "MenuBarExtraStyle"
}
-->

# MenuBarExtraStyle

A specification for the appearance and behavior of a menu bar extra scene.

```
protocol MenuBarExtraStyle
```

## Topics

### Getting menu bar extra styles

[`static var automatic: AutomaticMenuBarExtraStyle`](/documentation/SwiftUI/MenuBarExtraStyle/automatic)

The default menu bar extra style.

[`static var menu: PullDownMenuBarExtraStyle`](/documentation/SwiftUI/MenuBarExtraStyle/menu)

A menu bar extra style that renders its contents as a menu that pulls
down from the icon in the menu bar.

[`static var window: WindowMenuBarExtraStyle`](/documentation/SwiftUI/MenuBarExtraStyle/window)

A menu bar extra style that renders its contents in a popover-like
window.

### Supporting types

[`struct AutomaticMenuBarExtraStyle`](/documentation/SwiftUI/AutomaticMenuBarExtraStyle)

The default menu bar extra style.
You can also use [`automatic`](/documentation/SwiftUI/MenuBarExtraStyle/automatic) to construct this style.

[`struct PullDownMenuBarExtraStyle`](/documentation/SwiftUI/PullDownMenuBarExtraStyle)

A menu bar extra style that renders its contents as a menu that pulls
down from the icon in the menu bar.

[`struct WindowMenuBarExtraStyle`](/documentation/SwiftUI/WindowMenuBarExtraStyle)

A menu bar extra style that renders its contents in a popover-like window.

## Relationships

### Conforming Types

[`PullDownMenuBarExtraStyle`](/documentation/SwiftUI/PullDownMenuBarExtraStyle)

[`AutomaticMenuBarExtraStyle`](/documentation/SwiftUI/AutomaticMenuBarExtraStyle)

[`WindowMenuBarExtraStyle`](/documentation/SwiftUI/WindowMenuBarExtraStyle)

---

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)