Component

Checkbox & Radio Button

Selection controls share the --components-checkbox-radio-* tokens. Use Checkbox for independent, non-exclusive options and RadioButton for a single choice from a mutually exclusive set.

Storybook
Playground
Type
Selection
Size
State
Label heading
Label
Helper content
Helper text
Preview
JSX
<Checkbox
  type="primary"
  size="sm"
  selectionType="default"
  showLabelHeading
  showHelperContent
  label="Checkbox Title"
  helperText="Helper text write here..."
/>

Props

The full CheckboxProps API. Visual selection is driven by selectionType, color by type.

PropTypeDefaultDescription
selectionType
'default' | 'selected' | 'indeterminate''default'Visual selection state. 'indeterminate' is for partial group selection only (e.g. select-all).
type
'primary' | 'error' | 'warning' | 'success' | 'information''primary'Intent — controls the --components-checkbox-radio-* color tokens.
size
'sm' | 'md''sm'Box and icon dimension. 'sm' = 16px, 'md' = 20px.
state
'default' | 'focus' | 'hover' | 'disabled''default'Interaction state. 'hover' / 'focus' paint the subtle background ring; 'disabled' greys the box.
showLabelHeading
booleantrueShow the label title beside the box.
showHelperContent
booleantrueShow the helper text below the label (requires helperText).
label
string'Checkbox Title'Label title text. Linked to the box as the accessible name.
helperText
string'Helper text write here...'Supporting helper text shown when showHelperContent is true.
onChange
(next: boolean) => voidCalled when the box is toggled. Omit for a read-only sample.
className
stringLayout-only classes (margin, positioning).