The Button component is a versatile component, that is used to initiate some sort of action in response to being pressed. It can be used for showing status, as well. For example, you can configure buttons to be active or inactive, change color, text or any other property, and you can alter these configurations in response to conditions in your project. Button components support icons as well. For an example, see Example 2 below.
To get buttons to do things, you configure one or more Actions that occur following an Event. For instance, you might call a Script action on the onActionPerformed component event, which triggers when the button is pressed.