CheckboxGroup

Checkbox group with merged backgrounds for contiguous selections.

Installation

Basic

API Reference — CheckboxGroup

PropTypeDefaultDescription
checkedIndicesSet<number>Set of checked item indices. Used for merged background rendering.
childrenReactNodeCheckboxItem children.

API Reference — CheckboxItem

PropTypeDefaultDescription
labelstringText label for the checkbox.
indexnumberPosition index within the group.
checkedbooleanWhether this item is checked.
onToggle() => voidCalled when this item is toggled.