Select/Deselect checkboxes while clicking button


Is it possible to make a button component and checkbox components interact?

Or do we need a custom code to do the following action:

In the initial state I have several checkboxes selected.

When I click on a button, I can deselect all the checkboxes.

And vice versa


Here is my public share link: LINK
(how to access public share link)