Checkbox
shadcn/uiA control that allows the user to toggle between checked and not checked.
Checkbox
Installation
Props
<Checkbox />
Name | Type | |
|---|---|---|
variant | string(default: black) | |
variantChecked | string(default: undefined) | |
variantUnchecked | string(default: undefined) | |
onCheckedChange | string(default: undefined) | |
indeterminate | boolean | |
inputRef | React.Ref<HTMLInputElement> | |
parent | boolean | |
uncheckedValue | string | |
nativeButton | boolean | |
render | React.ReactElement | |
keepMounted | boolean |