Skip to content
KansoMakado design system 1.1
makado.app

Forms

Checkbox

Spectrum's checkbox: a 16px box with a 2px gray border and small corners that fills with the accent blue when checked.

Preview

Live, in this page’s themeOpen on its own

Props

PropTypeDescription
labelRequiredstring
hideLabelboolean
checkedboolean
defaultCheckedboolean
onChange(checked: boolean) => void
roundbooleanThe to-do circle instead of the square box.
size'M' | 'L'
disabledboolean
classNamestring
childrenReact.ReactNode

Guidelines

Spectrum's checkbox: a 16px box with a 2px gray border and small corners that fills with the accent blue when checked. round gives a circle where a softer look is wanted.

Provide: label (always; with hideLabel it becomes the accessible name and tooltip), checked and onChange(checked), or defaultChecked; round, size (M 16px, L 20px), disabled.

  • Use the square box everywhere by default, to-dos included.
  • A label says what is true when checked: "Raw footage included", not "Raw footage?".