Blazor Button - Overview

Basic Button

Styled Buttons

Buttons with icons and images

Disabled Button

  • Overview.razor
Loading the demo source code...please wait.
blazor ui ninja image

The Button component is part of Telerik UI for Blazor, a professional grade UI library with 110+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik UI for Blazor Button is a versatile Blazor component that can be used in both WebAssembly (WASM) and Server-side applications. It is a common element that allows you to invoke UI functionality by clicking on it, but it provides value to developers through its ease of customizability, versatility and integration with the rest of the Telerik UI for Blazor library. The component can be easily styled using the built-in themes and icon support (font icons or sprites), customized using the click event and accessed by everyone via thorough support for keyboard navigation and accessibility standards.
The Blazor Button component provides three button types to make it easier to use for your specific purposes: Button, Submit and Reset. The standard button type will execute any action you program. The  Submit button posts form results and triggers validation and the Reset button will clear a form.

In the Blazor Button demo above, you can see various button examples that illustrate the full breadth of functions and customization options. The Basic Button is programmed to return the time and date clicked. The Styled Buttons show how a button can be customized. The Buttons with icons show how you can illustrate a button’s purpose. Finally, the Disabled Button shows an example of a read-only instance.

Other demos in the collection show how to easily customize a button’s appearance (fill mode, corner radius, size and color) as well as how keyboard navigation works.

This Button Overview example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

Additional Resources

An error has occurred. This application may no longer respond until reloaded.