openpencil/packages/docs/programmable/sdk/api/advanced/use-fill-picker.md
2026-03-24 23:24:08 +03:00

488 B

title description
useFillPicker Low-level fill-category and conversion helper.

useFillPicker

useFillPicker(fill, onUpdate) returns derived fill category state plus conversion helpers for switching between solid, gradient, and image fills.

Use it when building custom fill pickers beyond FillPickerRoot.