GrayscalePicker

April 10, 2025 ยท View on GitHub

Props

Besides modelValue and tinyColor (used with v-model and v-model:tinyColor respectively), <GrayscalePicker /> also supports the following props:

PropTypeDefaultDescription
palettestring[]Defines the color palette displayed as preset swatches in the component.

Events

<GrayscalePicker /> emits update:modelValue and update:tinyColor events, which are used by v-model and v-model:tinyColor respectively.