DevControlColor
components/dev/ControlColor.vue
Hex color text input with label. 6-character max, monospace font, dark-themed.
Fill
#
Stroke
#
Background
#
components/dev/ControlColor.vue
Usage
<DevControlColor
label = "required"
modelValue = "required"
placeholder = "ffffff"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | String | required | Control label |
| modelValue | String | required | Current hex value (v-model) |
| placeholder | String | 'ffffff' | Placeholder hex value |
Events
| Event | Description |
|---|---|
| update:modelValue | When color value changes |