Skip to main content
Kaleidoscope

Checkbox

Useful for when you want to select zero or more options from a list.

Default

What you get out of the box with this component:

Editable example

Disabled variant

To disable a checkbox, preventing user interaction, use the disabled prop.

Editable example

Size variants

We support three sizes (small, medium and large). The medium and large variants both have a "blue" selected color.

Use the large variant for selection of larger interface elements such as .

Editable example

Theming

We also supports a dark theme for all variants:

Editable example

Best practices

  • Use a RadioButtonGroup when only one option can be selected from a list
  • For turning a single option on or off, use a Toggle
  • For selecting one item from a set of options with small labels or icons, use a

Accessibility

  • A label is always required to support users with screen-readers; if you don't want it to be visible, use the labelHidden prop