Skip to content

Custom component with Field

Wrap any component in Field and bind the slot props to it. Here a small ColorPicker wraps a native color input and receives the field's modelValue/onUpdate:modelValue through v-bind="field".