---
title: minimumWidth
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmenu/minimumwidth
---

# minimumWidth

The minimum width of the menu in screen coordinates.

## Declaration

```swift
var minimumWidth: CGFloat { get set }
```

## Discussion

Discussion This property contains a value of type CGFloat, indicating the minimum width of the menu in screen coordinates. The menu will not draw smaller than its minimum width, but may draw larger if it needs more space. The default value for this property is 0.

## See Also

### Configuring Menu Size

- [size](appkit/nsmenu/size.md)
