# Checkbox

A checkbox is a way of presenting one or more boolean options to a user.

# Simple Demo

Use v-model to track your checkboxes value.

# Label

Use the label prop or slot to add a label to your checkbox

# Events

Use the @change event to run some code on change.

# Disabled Checkboxes

Use disabled to disable a checkbox.

# Custom True/False Values

Use true-value and false-value if you need more than true and false for your checkbox.

# Fieldset

Checkboxes can be wrapped in a Fieldset to apply a Legend to the entire group, or to disable an entire group of checkboxes. See Fieldset for more information.

# Binding to an array

You can bind multiple checkboxes to the same array with v-model and value.

# Indeterminate state

Use indeterminate prop to set state as indeterminate. Indeterminate checkboxes are still considered checked, but have a different visual appearance purely for UX.

Last Updated: 7/25/2023, 3:50:46 PM