Checkbox
A control that allows the user to toggle between checked and not checked.
Examples
import { Checkbox } from 'kalki-design'
<Checkbox></Checkbox>Installation
npx kalki-design add checkboxUsage
import { Checkbox } from 'kalki-design'
export default function Example() {
return <Checkbox />
}API Reference
| Name | Type | Default | Description |
|---|---|---|---|
Namelabel | Typestring | Default— | DescriptionLabel rendered next to the checkbox. |
NamehelperText | Typestring | Default— | DescriptionSupplementary text below the label. |
Nameerror | Typestring | boolean | Default— | DescriptionError state message or styling. |
Namedisabled | Typeboolean | Defaultfalse | DescriptionPrevents interaction. |