Skip to content

@agala-labs/ui

Color Picker

Selects a color in a viewport-aware top-layer panel or through a hexadecimal value.

Examples

Default
<AgalaColorPicker v-model="brandColor" clearable />

Import

import { AgalaColorPicker } from '@agala-labs/ui'

API

PropTypeDefaultDescription
modelValuestringHex color used by v-model.
size'sm' | 'md' | 'lg''md'Control size.
placeholderstringEmpty value copy.
clearablebooleanfalseAllows clearing.
disabledbooleanfalseDisables interaction.
error / errorMessageboolean / stringValidation state and copy.

Events

  • update:modelValue(value: string)

Accessibility

Exposes manual hex entry in addition to pointer-driven color controls.

Released under the MIT License.