The button component has several built-in features such as support for icons, predefined styles, different button types, sizes, and UI customization.
Users tend to perceive visual information better than text. The button has built-in options to include an icon to the right or left of the text, or provide an icon-only button.
Several predefined styles of button are available:
You can use them based on your application scenario.
The button can be used as a toggle button, triggering two different actions based on its two states: pressed and released.
You can extend the button to act as a repeat button, which triggers the click event repeatedly when it is clicked and held.
You can choose from built-in types of buttons such as outline, block, and round buttons. Also, you can customize the button’s appearance.