<input>
elements of type checkbox are rendered by default as square boxes that
are checked (ticked) when activated, like you might see in an official government
paper form. To use, import from @marvelapp/ui
:
import { Checkbox } from '@marvelapp/ui';
The <Checkbox />
component has a few kinds available that can be used depending
on the context of the action being performed.
<CheckboxContainer kind="defaultGreen" />
<CheckboxContainer kind="defaultBlue" />
The <Checkbox />
component has 3 states available.
<CheckboxContainer isChecked={false} />
<CheckboxContainer isChecked={null} />
<CheckboxContainer isChecked={true} />