components / checkbox
checkbox.
square checkbox with a check-on-fill. wraps a native checkbox so it works in forms; thin border, no corners, fills white with a black check when checked.
installation
bunx @justin06lee/chrome@latest add checkboxprops
| name | type | default | description |
|---|---|---|---|
| label | ReactNode | - | text rendered beside the box. |
| checked | boolean | - | controlled checked state. |
| defaultChecked | boolean | - | uncontrolled initial state. |
| onChange | (e: ChangeEvent<HTMLInputElement>) => void | - | |
| disabled | boolean | false | |
| wrapperClassName | string | - | classes for the outer <label>. |