Skip to main content

ColorPicker

A control used to select a color from the system color picker UI.

Example​

const color = useBinding('white');
<ColorPicker selection={color} />

Props​

ColorPicker inherits all View Modifiers as props.

propdescriptiontyperequireddefault
selectionThe color valueColoryesundefined
onChangeFunction to execute when a color selection is made(v: string) => voidnoundefined