Checkbox

The Checkbox component allows users to select multiple items from a list.

Default

Use in forms to toggle the state of something on or off.

Indeterminate

Used to represent multiple selected items within a list.

Disabled

Disabled checkboxes can appear as selected or unselected.

Props

  • checked boolean

    The checked attribute of the checkbox

  • label string

    Label of the checkbox

  • labelHidden boolean

    Visually hide the label

  • indeterminate boolean

    State in addition to "checked" and "unchecked". When true, the checkbox displays a "minus" icon

  • disabled boolean

    When true, the checkbox is disabled