UxCheckbox
components/ux/Checkbox.vue
Label wrapper that associates a label string with a slotted checkbox input.
checked: true
States
components/ux/Checkbox.vue
Usage
<UxCheckbox
label = "null"
>
Content here
</UxCheckbox>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | String | null | Label text |
Slots
| Slot | Description |
|---|---|
| default | Must contain <input type="checkbox" id="..."> |