Checkbox
import { Checkbox } from '@tulsa/core';
<Checkbox />
<Checkbox label='With a label' checked />
<Checkbox label='Disabled' disabled />
Props
Name | Type | Description | Default |
---|---|---|---|
id | string | Manually sets the id and accessibility of the `for` attribute of the associated label | |
label | string | Associated label of the box | |
labelProps | HTMLProps<"label"> | Props that are applied to the root of the label |
Native props are forwarded to the root component.