ColorPicker

Color picker input field

Installation

import {ColorPicker} from 'uxp/components';

Properties

Name
Type
Description

color

string

default color

onChange

(color: string) => void

callback on select a color

position

picker position. default is left

className

string

class name for additional styles

closeOnSelect

boolean

close the picker on select a color default is true

displayFormat

change display format

returnFormat

change return format

color


default color

type

string

onChange


callback on select a color

type

(color: string) => void

position


picker position. default is left

className


class name for additional styles

type

string

closeOnSelect


close the picker on select a color default is true

type

boolean

displayFormat


change display format

returnFormat


change return format

Last updated