Checkboxes allow the user to select multiple options from a set. Checkboxes are aligned properly and given a focus state consistent with other form elements. Other than that they are left as is.
horizontal
error
Property | Type | Required | Default | Description |
---|---|---|---|---|
disabled | Bool | false | false | Whether the Checkbox is currently disabled. |
onChange | Func | false | () => {} | Event called when the Checkbox value should be toggled. |
children | Node | false | - | The label text of the Checkbox. |
value | String | false | - | The form value for this Checkbox. |
name | String | false | - | The name to be shared among Checkboxes in a group. |
checked | Bool | false | - | Whether the Checkbox is currently checked. |
labelStyle | Object | false | - | Style object passed down to the label. |