Appearance
jio-checkbox
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| id | An ID must be supplied | string | - | |
| required | Whether the checkbox must be checked@values true, false | boolean | - | |
| isInvalid | Whether validation determined the checkbox state is invalid@values true, false | boolean | - | |
| inline | Whether the checkbox should render inline@values true, false | boolean | - | |
| disabled | Whether the checkbox is disabled@values true, false | boolean | - | |
| theme | The desired palette@values "primary", "secondary" | Theme | - | "primary" |
Slots
| Name | Description | Bindings |
|---|---|---|
| default |
General
This component is based on the Bootstrap checkbox.
Code examples
Two simple inline checkboxes.
Checkbox 0 Checkbox 1
Two simple stacked checkboxes.
Checkbox 0 Checkbox 1