Skip to content

useGradientStops

useGradientStops(fill, onUpdate) manages active-stop state, subtype switching, stop dragging, and color or opacity updates for gradient fills.

Use it when building custom gradient editors beyond the packaged primitives.

Released under the MIT License.