Button

A button is an object that communicates and triggers an action when it is clicked or selected.

Demos

Progress button

The following demo shows the intended flow for a button that visually indicates progress. This example demonstrates a login process, which updates the button label based on the loginState.

Please note that only the button can be interacted with in this example. The username and password input fields cannot be edited as the focus is on the button behavior.