AppCheckbox

A styled native checkbox with v-model, an indeterminate state and an optional label. Extra attributes reach the input, not the label.

Install: pnpm add-component AppCheckbox

Basic usage

Bind it with v-model. Clicking the label toggles the box too.

Disabled

Disabled boxes keep their checked state and ignore clicks.

Select all

A parent checkbox goes indeterminate while only some of its children are checked.

API