Mudblazor
Toggle light/dark theme
GitHub repository
Toggle right-to-left/left-to-right

Icon Button

Similar to MudButton but with icons. For guidance and suggestions go to Icons.

See Icon Button API for parameter documentation.

Simple Icon Buttons

Hide code example
Edit on TryMudBlazor
Copy Code
View the source on GitHub
<MudIconButton Icon="@Icons.Material.Delete"></MudIconButton>
<MudIconButton Icon="@Icons.Custom.GitHub" Color="Color.Primary"></MudIconButton>
<MudIconButton Icon="@Icons.Material.Favorite" Color="Color.Secondary"></MudIconButton>
<MudIconButton Icon="@Icons.Material.Share" Disabled="true"></MudIconButton>

Toggle Icon Button

Hide code example
Copy Code
View the source on GitHub
<MudIconButton Icon="@Icons.Material.Delete"></MudIconButton>
<MudIconButton Icon="@Icons.Custom.GitHub" Color="Color.Primary"></MudIconButton>
<MudIconButton Icon="@Icons.Material.Favorite" Color="Color.Secondary"></MudIconButton>
<MudIconButton Icon="@Icons.Material.Share" Disabled="true"></MudIconButton>
An error has occurred. This application may no longer respond until reloaded. Reload 🗙