MudBlazor

Community Support

Discord

GitHub Discussions

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

GitHub Discussions

Tools and resources

TryMudBlazor

Templates

Sponsor

Open Collective

MudLink

API documentation.

Check out the Examples for this component.

Properties

Name Type Default Description
Color Color Color.Primary The color of the component. It supports the theme colors.
Typo Typo Typo.body1 Typography variant to use.
Underline Underline Underline.Hover Controls when the link should have an underline.
Href String null The URL, which is the actual link.
Target String null The target attribute specifies where to open the link, if Link is specified. Possible values: _blank | _self | _parent | _top | framename
ChildContent RenderFragment null Child content of component.
Disabled Boolean False If true, the navlink will be disabled.
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 🗙