MatBlazor - Material Design components for Blazor and Razor Components


Buttons communicate an action a user can take.
They are typically placed throughout your UI, in places like dialogs, forms, cards, and toolbars.

Name Type Description
Attributes Dictionary<String,Object>
ChildContent RenderFragment Inline label of Button.
Class String Specifies one or more classnames for an DOM element.
Command ICommand Command executed when the user clicks on an element.
CommandParameter Object Command parameter.
Dense Boolean Button has dense style.
Disabled Boolean Button is disabled.
Icon String Specifies an button's icon.
Id String
Label String Text label of Button.
Link String Link to a url when clicked.
Name String
OnClick EventCallback<MouseEventArgs> Event occurs when the user clicks on an element.
Outlined Boolean Button has outlined style.
Raised Boolean Button has raised style.
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
TrailingIcon String Specifies if icon has trailing position.
Type String
Unelevated Boolean Button has unelevated style.
Value String
Ref ElementReference Returned ElementRef reference for DOM element.

Simple use

With Font-Awsome Icons and Link
Button types
Trailing Icons
Button Type
If you like MatBlazor, please put a star on GitHub.