Under maintenanceMVP Verson: 0.9.7 beta
Lang Icon
Toggle Icon
ColorPicker
Pick a color.
Default
PreviewCode
Disabled
PreviewCode
Detail
PreviewCode
#000000
rgb(0, 0, 0)
hsl(0, 0%, 0%)
Props
Universal Props
Prop
Type
Accepted Values
Description
Default
showText
boolean
boolean
enable color detail.
false
disabled
boolean
boolean
disabled the ColorPicker.
false
onChange
() => void
() => void
Callback when color is selected,like:onChange={(value) => console.log('selected color:', value)}
-