Checkbox
shadcn/uiA control that allows the user to toggle between checked and not checked.
Installation
Props
<Checkbox />
Name
Type
className
string
variant
"black" | "raised" | "ghost" | "outline"
variantChecked
"black" | "raised" | "ghost" | "outline"
variantUnchecked
"black" | "raised" | "ghost" | "outline"
checked
boolean
defaultChecked
boolean
onCheckedChange
(checked: boolean) => void
disabled
boolean
required
boolean
name
string
value
string