Checkbox

A checkbox control that allows users to toggle between checked and unchecked states.

Basic Usage

Basic Checkbox

Checked: false

With Label

Checkbox with Label

Indeterminate State

Indeterminate Checkbox

Use checked='indeterminate' for a partial selection state, commonly used in 'select all' scenarios.

Indeterminate state

Disabled

Disabled Checkbox

API Reference

PropTypeDefault
checkedboolean | "indeterminate"false
disabledbooleanfalse
idstring-