The Checkbox component maps to a checkbox input and a label.
| Component Name | Development Status |
|---|---|
| Checkbox | DONE |
You can find all examples for components developed in this module here.
This component composes styled-system
| Property Name | Type | Description |
|---|---|---|
| id | string | The id attribute of the checkbox. |
| name | string | The id attribute of the radio. |
| label | node | Label of the checkbox. |
| value | string | The value attribute of the radio. |
| checked | bool | The checked attribute of the radio. |
| onChange - () => {} | func | Function called when state changes. |
| disabled | bool | When true, the radio is disabled. |