A checkbox input field gives the people using your design generator a single on/off toggle. Its value is simply true or false, which can show or hide an element, or switch a setting like Wrap on and off.
You add it through the custom-property route: select the element, click Select Custom Property in the add popup, then click the true/false property you want to expose, for example the element's Visibility (see Adding input fields).
The field has one setting:
- Label: the text shown next to the checkbox in the design generator.
Because the value is just true or false, you can also feed it into expressions to switch between two outcomes.