MatBlazor - Material Design components for Blazor and Razor Components


Icons are appropriate for buttons that allow a user to take actions or make a selection, such as adding or removing a star to an item.

Name Type Description
Attributes Dictionary<String,Object>
ChildContent RenderFragment Child content of MatIconButton
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.
Disabled Boolean Button is disabled.
Icon String Default Button Icon
Id String
Link String Navigate to this url when clicked.
OnClick EventCallback<MouseEventArgs> Event occurs when the user clicks on an element.
OnMouseDown EventCallback<MouseEventArgs>
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Target String *Not available yet
ToggleIcon String Icon to use when Button is clicked
Ref ElementReference Returned ElementRef reference for DOM element.

Simple use

With Font-Awsome Icons
With href link
With Toggle
If you like MatBlazor, please put a star on GitHub.