Oddmash UI
All components

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.

PropertyTypeDefault
defaultCheckedbooleanfalse
<label>
  <Checkbox name="events" value="keyboard" defaultChecked /> Capture keyboard events
</label>

Interactive documentation