<input type="checkbox" class="c-checkbox" name="name" id="id" value="" />
<label for="id">Label</label>
Checkbox
{
"label": "Label",
"name": "name",
"id": "id"
}
Props
Name | Type | Description |
---|---|---|
label | string | |
id | string | ID attribute |
name | string | Name attribute (falls back to ID) |
checked | bool | Is this input checked? |