Skip to content

Checkbox ​

Last updated

Demo ​

checkbox/demo.vue

Checkbox uses Reka UI for role, keyboard and indeterminate state, and shared tokens for appearance.

Props ​

PropDescriptionTypeDefault
v-modelChecked stateboolean | 'indeterminate'false
valueSubmitted form valuestring—
disabledDisabledbooleanfalse

Each checkbox needs a name: set aria-label="Agree to the terms" or associate id with <label for>. An adjacent span is not an automatic label. Name/required forward to Reka UI. Checked values appear in native FormData; disabled values are omitted.