Skip to Content
ComponentsCheckbox

CheckBox

A Checkbox lets users select one or more options. It’s commonly used in a Checkbox Group to present multiple choices, but can also be used individually to toggle a single option.

GitHub LogoSource Code

Color

You can use the color prop to style the color of the checkbox.

Label position

Use the labelPosition prop to change the position of the label.

Controlled

You can share state control from a parent component. Clicking Checkbox 1 has no effect, while clicking Checkbox 2 updates the state and toggles both checkboxes.

Last updated on