Skip to content

BaseCheckbox ​

BaseCheckbox provides an interface for an un-styled checkbox element. Use v-model to bind the checkbox to your data.

Checkboxes should always be paired with an associated label. BaseCheckbox leaves the details for that relationship to the developer.

Single checkbox ​

At its most basic, use v-model to bind a single checkbox to a boolean value.

Multiple checkboxes ​

Typically, checkboxes are presented in groups of related values. In this case, we iterate over an array of options with v-for making sure to bind the value prop on each checkbox. Additionally, each checkbox is passed an array through v-model to capture all the selections.

Selection: []