<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/TextInputFormattingControlPlacement/Set/contextMenu",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI35TextInputFormattingControlPlacementV3SetV11contextMenuAEvpZ"
  },
  "title" : "contextMenu"
}
-->

# contextMenu

Text formatting controls placed in the context menu, and the
edit menu on iOS.

```
static let contextMenu: TextInputFormattingControlPlacement.Set
```

## Discussion

On macOS, the Font Panel is available only when the `contextMenu`
placement is available.

---

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)