npx ui-thing@latest add vee-checkbox
Checkboxes can be tricky to implement with validation libraries. Luckily, Vee-Validate takes care of the heavy lifting for us. Take a look at the Building Checkboxes Docs
for more information on how this works.
We can use the v-model
prop to set the default value of the VeeCheckbox.
These are some examples that I found today over here Origin UI. I think they are cool.
To use these examples you will have to copy the code and adjust it for your own use.
You can use this checkbox with a label and a description.
Check the Checkbox to expand the input field.
You can use this checkbox with a label and a description.