The ASP.NET Core Button is a custom HTML5 button control. It has several built-in features such as support for icons, predefined styles, different button types, different button sizes, and UI customization.
Users tend to perceive visual information more readily than text. To this end, an icon button has been designed to include an icon to the right or left of the button text or provide an icon-only button.
Several predefined styles of button are available:
You can use them based on the context of your application.
The ASP.NET Core button can be used as a toggle button to trigger two different actions based on its two states: pressed and released.
You can extend this button to act as a repeat button, which performs the click event repeatedly when it is clicked and held.
You can choose from different button sizes, default and small, as required in your application.
You can choose from built-in button types such as outline, block, and round buttons. Also, you can customize the button’s appearance.