API Reference > ui-components > Color > ColorPickerProps ColorPickerProps Interface Beta Properties for the ColorPickerButton React component Extends ButtonHTMLAttributes<HTMLButtonElement> CommonProps Properties Name Type Description colorDefs undefined | ColorDef[] Available colors disabled undefined | boolean Disabled or not dropDownTitle undefined | string Title to show at top of DropDown initialColor ColorDef Active color numColumns undefined | number Number of columns onColorPick undefined | (color: ColorDef) => void readonly undefined | boolean Readonly or not ref undefined | Ref<HTMLButtonElement> Provides ability to return reference to HTMLButtonElement round undefined | boolean Show swatches as squares unless round is set to true showCaret undefined | boolean If true show up/down caret next to color Defined in ui/components/src/ui-components/color/ColorPickerButton.tsx Line 36 Last Updated: 11 June, 2024