Checkbox
<Checkbox name="on"> -- a box that is ticked or not, Wolfram's Checkbox. The binding _on is True or False; value="True" starts it ticked. Put the words beside it in the prose -- the box is the control, the sentence is the label -- or give it a label of its own.
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
name | string | "" | The binding this box drives: name="a" fills the wildcard _a.reflects |
value | string | "" | True or False at first. |
label | string | "" | A label drawn beside the box. |
As a web component
Plain custom elements, no framework required: import @enumeratio/frontend for the side effect and write <checkbox-box> in any HTML. Attributes are kebab-case and always strings; the props table above names each one's attribute where it differs from its prop.