Checkbox

The Checkbox component maps to a checkbox input and a label.

Component NameDevelopment Status
CheckboxDONE

Examples

You can find all examples for components developed in this module here.

Checkbox States

Properties

This component composes styled-system

Property NameTypeDescription
idstringThe id attribute of the checkbox.
namestringThe id attribute of the radio.
labelnodeLabel of the checkbox.
valuestringThe value attribute of the radio.
checkedboolThe checked attribute of the radio.
onChange - () => {}funcFunction called when state changes.
disabledboolWhen true, the radio is disabled.