Checkbox()
Checkbox(
__namedParameters):Element
Checkbox - A form control for binary or multiple selection with group support
Provides accessible checkbox functionality with support for individual checkboxes or grouped selections. Includes visual feedback for checked, indeterminate, and disabled states with integrated labeling and validation support.
Parameters
__namedParameters
Returns
Element
Examples
// Basic checkbox
<Checkbox>
Accept terms and conditions
</Checkbox>
// Checkbox group with multiple options
<CheckboxGroup label="Select preferences">
<Checkbox value="notifications">Email notifications</Checkbox>
<Checkbox value="marketing">Marketing emails</Checkbox>
<Checkbox value="updates">Product updates</Checkbox>
</CheckboxGroup>
// Disabled checkbox
<Checkbox isDisabled>
Unavailable option
</Checkbox>
// Indeterminate checkbox (partial selection)
<Checkbox isIndeterminate>
Select all items
</Checkbox>