Color Picker

An interactive color picker component built with React Colorful, featuring RGB, HSV, and hex color support. Includes color panel selection, hue slider, hex input field, clipboard integration, and eyedropper tool for precise color selection.

Raws

Installation

npx uilayouts@latest add color-picker

Props

PropsTypeDefaultDescription
colorstringThe current color value.
onChange(color: string) => voidCallback fired when the color is changed.
labelstringLabel displayed above the color picker.
isEyeDroppperbooleanfalseWhether to enable the eyedropper feature.
classNamestringfalseWhether to enable the eyedropper feature.