ColorPicker
Forms

ColorPicker.

Native color swatch paired with hex validation and copy control.

Real interactive component
Live demo

The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.

Props & API reference

Parameters available in the shared component, including value types, requirements and accepted options.

5 props
ParameterTypeRequiredDefaultPossible valuesDescription
valuestringYes——Current six-digit hex color (e.g. #ac1c23).
onValueChange(hex: string) => voidNo——Called on valid color changes.
labelstringNoAccent color—Accessible color input name.
disabledbooleanNofalsetrue · falseDisable color edits and copying.
classNamestringNo——Additional CSS class on the outer component element.