label | string | - | Text above the picker. |
| Text above the picker. |
value | string | - | |
|
defaultValue | string | - | |
|
onValueChange | (value: string) => void | - | Called with the new hex whenever the color changes. |
| Called with the new hex whenever the color changes. |
swatches | string[] | - | |
|
opacity | boolean | false | |
|
variant | inline | popover | inline | |
|
shape | none | rounded | pill | rounded | |
|
disabled | boolean | false | Blocks every part of the picker & dims it. |
| Blocks every part of the picker & dims it. |
className | string | - | |
|
focus | boolean | string | true | |
|
container | HTMLElement | null | - | |
|