Checkbox
Enable options independently.
Usage
Use a checkbox when options can be selected independently or submitted together.
Accessibility
Wrap the checkbox in a label or link the label with htmlFor.
| Property | Type | Default |
|---|---|---|
| defaultChecked | boolean | false |
<label>
<Checkbox name="events" value="keyboard" defaultChecked /> Capture keyboard events
</label>