Diggi Docs
ColorInput

The color input element let the user specify a color by using a visual color picker interface.


Eigenschaften

NameTypeDefault ValueDescription

id

string

nanoid()

Id of the Element

name

string

"color input"

Name of the Element

value

Colors|undefined

undefined

Selected Color Value

disabled

boolean

false

Disables the Element

label

string|undefined

undefined

Label of the Element

Events

NameDescription

change

fires default input change event and returns Hex Color value


Beispiele

Color Input no Customs

Color Input

Color Input with label

Color Input disabled

Color Input with label disabled

Color Input with very long label

Color Input with very long label disabled