Skip to content

FormColorPicker ​

The native colour input with a hex field (and opacity) and a palette.

ts
import { FormColorPicker } from '@zairakai/vue-components/Form'

Usage ​

vue
<FormColorPicker />

Props ​

NameTypeDefaultDescription
idstring
classstring
modelValuestringundefined#rrggbb, or #rrggbbaa with alpha.
palettearray[]Ready made colours to click.
alphabooleanfalse
labelstring
namestring
formstring
disabledbooleanfalse
hexLabelstring'Hex colour'
alphaLabelstring'Opacity'

Events ​

NameDescription
update:modelValue

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.