Checkbox
Single checkbox component.
- React
- CSS
<Checkbox id="checkbox" value="checkbox" label="Checkbox" />
<div class="checkbox">
<input type="checkbox" id="checkbox" value="checkbox" class="checkbox_control" />
<label for="checkbox" class="checkbox_label">Checkbox</label>
</div>
Props
Checked
- React
- CSS
<Checkbox id="checked" value="Checked" label="Checked" checked />
<div class="checkbox">
<input type="checkbox" id="checked" value="Checked" class="checkbox_control" checked />
<label for="checked" class="checkbox_label">Checkbox</label>
</div>
Disabled
- React
- CSS
<Checkbox id="disabled" value="Disabled" label="Disabled" disabled />
<div class="checkbox">
<input type="checkbox" id="disabled" value="Disabled" class="checkbox_control" disabled />
<label for="disabled" class="checkbox_label">Checkbox</label>
</div>