Checkbox
A boolean input component with checked and unchecked states.
import { Checkbox } from '@kaynora/ui' export default function () { return ( <Checkbox name='checkbox'> <T>Checkbox</T> </Checkbox> ) }
The disabled prop determines whether the checkbox is set to be non-interactive.
import { Checkbox } from '@kaynora/ui' export default function () { return ( <Checkbox name='checkbox' disabled> <T>Checkbox</T> </Checkbox> ) }
<Checkbox />
| Prop | Type | Default |
|---|---|---|
children | | — |
name | | — |
value | | undefined |
defaultValue | | false |
onChange | | undefined |
disabled | | false |
internal | | undefined |