Checkbox - Native

The native checkbox allows you to do regular checkbox stuff like binding to an array of values.

Source code

Click here to see the source code for this component on GitHub. Feel free to copy it and adjust it for your own use.

Installation

npx ui-thing@latest add vee-native-checkbox

Why?

You may be wondering why this is here. I ran into an issue the other way with how the checkbox from Radix Vue was working with an array of values.

Sadly, I couldn't find a way to make it work with an array of values. So I decided to create a native checkbox that works with an array of values.

Usage

Basic

Indeterminate

Colors

Sizes

Label Only

Description Only

Label & Description

Array of Items