---
title: contextMenu
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/textinputformattingcontrolplacement/set/contextmenu
---

# contextMenu

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

## Declaration

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

## Discussion

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