---
title: imageProvider
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pktoolpickercustomitem/configuration-swift.struct/imageprovider
---

# imageProvider

A closure to provide an image that represents the custom tool item.

## Declaration

```swift
var imageProvider: ((PKToolPickerCustomItem) -> UIImage)?
```
