---
title: width
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pktoolpickercustomitem/width
---

# width

The current width of the custom tool item.

## Declaration

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

## See Also

### Configuring the custom item

- [color](pencilkit/pktoolpickercustomitem/color.md)
- [configuration](pencilkit/pktoolpickercustomitem/configuration-41nm4.md)
- [PKToolPickerCustomItem.Configuration](pencilkit/pktoolpickercustomitem/configuration-swift.struct.md)
