Skip to main content

Checkbox

import { Checkbox } from '@tulsa/core';

<Checkbox />
<Checkbox label='With a label' checked />
<Checkbox label='Disabled' disabled />

Props

NameTypeDescriptionDefault
idstringManually sets the id and accessibility of the `for` attribute of the associated label
labelstringAssociated label of the box
labelPropsHTMLProps<"label">Props that are applied to the root of the label

Native props are forwarded to the root component.