Checkboxes
Use the Checkboxes component to add one or more checkbox fields to your block’s editor view or sidebar. The Checkbox component requires an array attribute to hold the selected values.
Add choices by clicking on the Checkboxes component in your block’s structure to select it and then click Add Choice.
The label is what will be displayed next to each checkbox. The value is what will be stored in the attribute assigned to the Checkboxes component. You can make the label and value the same if you prefer.
Grab the move icon (the six dots) next to a checkbox option to re-order it. To make an option checked by default, check the box next to the option’s label.