17 lines
488 B
Markdown
17 lines
488 B
Markdown
|
|
---
|
||
|
|
title: useFillPicker
|
||
|
|
description: 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`.
|
||
|
|
|
||
|
|
## Related APIs
|
||
|
|
|
||
|
|
- [FillPickerRoot](../components/fill-picker-root)
|
||
|
|
- [useFillControls](../composables/use-fill-controls)
|
||
|
|
- [useGradientStops](./use-gradient-stops)
|