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 day with how the checkbox from Radix Vue was working with an array of values.

This has been fixed with the CheckboxGroup component in Reka UI but I am keeping this here anyways 🙂

Usage

Basic

Indeterminate

Colors

Sizes

Label Only

Description Only

Label & Description

Array of Items