ColorPicker API
API documentation for ColorPicker component
ColorPickerRoot#
Props#
Defines valid properties in ColorPicker component.
State#
Defines valid state in ColorPicker component.
| name | type | default | description |
|---|---|---|---|
| value | ColorInstance | null | The color of the color picker. |
| isAreaDragging | boolean | null | Whether the color picker area is dragging. |
Exposes#
Defines the methods and properties exposed by ColorPicker component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPicker component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerRootPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPicker component.
| values |
|---|
| ComponentInstance<ColorPickerRootProps, ColorPickerRootState, ColorPickerRootExposes> |
ColorPickerArea#
Props#
Defines valid properties in ColorPickerArea component.
Exposes#
Defines the methods and properties exposed by ColorPickerArea component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerArea component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerAreaPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerArea component.
| values |
|---|
| ComponentInstance<ColorPickerAreaProps, ColorPickerAreaState, ColorPickerAreaExposes> |
ColorPickerAreaBackground#
Props#
Defines valid properties in ColorPickerAreaBackground component.
Exposes#
Defines the methods and properties exposed by ColorPickerAreaBackground component.
| name | type | default | description |
|---|---|---|---|
| colorpicker | ColorPickerRootInstance | null | The ColorPickerArea component instance. |
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerAreaBackground component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerAreaBackgroundPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerAreaBackground component.
| values |
|---|
| ComponentInstance<ColorPickerAreaBackgroundProps, ColorPickerAreaBackgroundState, ColorPickerAreaBackgroundExposes> |
ColorPickerAreaThumb#
Props#
Defines valid properties in ColorPickerAreaThumb component.
Exposes#
Defines the methods and properties exposed by ColorPickerAreaThumb component.
| name | type | default | description |
|---|---|---|---|
| colorpicker | ColorPickerRootInstance | null | The ColorPickerArea component instance. |
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerAreaThumb component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerAreaThumbPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerAreaThumb component.
| values |
|---|
| ComponentInstance<ColorPickerAreaThumbProps, ColorPickerAreaThumbState, ColorPickerAreaThumbExposes> |
ColorPickerSlider#
Props#
Defines valid properties in ColorPickerSlider component.
Exposes#
Defines the methods and properties exposed by ColorPickerSlider component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerSlider component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerSliderPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerSlider component.
| values |
|---|
| ComponentInstance<ColorPickerSliderProps, ColorPickerSliderState, ColorPickerSliderExposes> |
ColorPickerSliderTrack#
Props#
Defines valid properties in ColorPickerSliderTrack component.
Exposes#
Defines the methods and properties exposed by ColorPickerSliderTrack component
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerSliderTrack component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerSliderTrackPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerSliderTrack component.
| values |
|---|
| ComponentInstance<ColorPickerSliderTrackProps, ColorPickerSliderTrackState, ColorPickerSliderTrackExposes> |
ColorPickerSliderThumb#
Props#
Defines valid properties in ColorPickerSliderThumb component.
Exposes#
Defines the methods and properties exposed by ColorPickerSliderThumb component
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerSliderThumb component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerSliderThumbPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerSliderThumb component.
| values |
|---|
| ComponentInstance<ColorPickerSliderThumbProps, ColorPickerSliderThumbState, ColorPickerSliderThumbExposes> |
ColorPickerTransparencyGrid#
Props#
Defines valid properties in ColorPickerTransparencyGrid component.
Exposes#
Defines the methods and properties exposed by ColorPickerTransparencyGrid component
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerTransparencyGrid component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerTransparencyGridPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerTransparencyGrid component.
| values |
|---|
| ComponentInstance<ColorPickerTransparencyGridProps, ColorPickerTransparencyGridState, ColorPickerTransparencyGridExposes> |
ColorPickerSwatch#
Props#
Defines valid properties in ColorPickerSwatch component.
Exposes#
Defines the methods and properties exposed by ColorPickerSwatch component
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerSwatch component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerSwatchPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerSwatch component.
| values |
|---|
| ComponentInstance<ColorPickerSwatchProps, ColorPickerSwatchState, ColorPickerSwatchExposes> |
ColorPickerSwatchBackground#
Props#
Defines valid properties in ColorPickerSwatchBackground component.
Exposes#
Defines the methods and properties exposed by ColorPickerSwatchBackground component
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerSwatchBackground component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerSwatchBackgroundPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerSwatchBackground component.
| values |
|---|
| ComponentInstance<ColorPickerSwatchBackgroundProps, ColorPickerSwatchBackgroundState, ColorPickerSwatchBackgroundExposes> |
ColorPickerEyeDropper#
Props#
Defines valid properties in ColorPickerEyeDropper component.
Exposes#
Defines the methods and properties exposed by ColorPickerEyeDropper component
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerEyeDropper component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerEyeDropperPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerEyeDropper component.
| values |
|---|
| ComponentInstance<ColorPickerEyeDropperProps, ColorPickerEyeDropperState, ColorPickerEyeDropperExposes> |
ColorPickerInput#
Props#
Defines valid properties in ColorPickerInput component.
Exposes#
Defines the methods and properties exposed by ColorPickerInput component
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of ColorPickerInput component.
| name | type | default | description |
|---|---|---|---|
| root | ColorPickerInputPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of ColorPickerInput component.
| values |
|---|
| ComponentInstance<ColorPickerInputProps, ColorPickerInputState, ColorPickerInputExposes> |