This sample demonstrates the default functionalities of a progress button. Clicking that button will display a spinner and a progress indicator.
The progress button visualizes the progression of an operation to indicate the user that a process is happening in the background. The progress can be shown with graphics accompanied by a textual representation.
More information about progress button can be found in this documentation section.