Mudblazor

Community Support

Discord

Gitter

Tools and resources

TryMudBlazor

Templates

Sponsor

Open Collective


Switch to Blazor wasm
Toggle light/dark theme
GitHub repository
Toggle right-to-left/left-to-right

Community Support

Discord

Gitter

Tools and resources

TryMudBlazor

Templates

Sponsor

Open Collective

MudAvatar

API documentation.

Check out the Examples for this component.

Properties

Name Type Default Description
Square Boolean False If true, border-radius is set to 0.
Rounded Boolean False If true, border-radius is set to the themes default value.
Image String null Link to image, if set a image will be displayed instead of text.
Color Color Color.Default The color of the component. It supports the theme colors.
Size Size Size.Medium The Size of the MudAvatar.
ChildContent RenderFragment null Child content of the component.
Class String null User class names, separated by space
Style String null User styles, applied on top of the component's own classes and styles
Tag Object null Use Tag to attach any user data object to the component for your convenience.
UserAttributes Dictionary<String, Object> UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙