Checkbox
A checkbox allows the user to agree or disagree/allow or disallow some information.
Basic checkbox
Required
You can set a checkbox as required with the required property.
Disabled
You can disable a checkbox with the disabled property.
Without label
You can hide the label of the checkbox with the hideLabel property. It is recommended to use the tooltip property to help the user understand what the checkbox is for.
When using a checkbox without label, it is important for accessibility to use the tooltip or put our own label outside of the component.
Different shape
You can use your own checkmark with the checkmark property. It can be a React node or a function that takes the checked state as a parameter and returns a React node.