MudAvatar API

Pages
Properties
Name Type Default Description
Behavior
Alt
string
null If set (and Image is also set), will add an alt property to the img element
ChildContent
RenderFragment
null Child content of the component.
Image
string
null Link to image, if set a image will be displayed instead of text.
Appearance
Color
Color
Color.Default The color of the component. It supports the theme colors.
Elevation
int
0 The higher the number, the heavier the drop-shadow.
Rounded
bool
False If true, border-radius is set to the themes default value.
Size
Size
Size.Medium The Size of the MudAvatar.
Square
bool
False If true, border-radius is set to 0.
Variant
Variant
Variant.Filled The variant to use.
Common
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.
Methods
Name Parameters Return Description
Dispose()
An unhandled error has occurred. Reload 🗙