Demos
For examples and details on the usage of this component, visit the component demo page:
Link
Properties
| Parameter | Type | Description | Default |
|---|---|---|---|
| ChildContent | RenderFragment |
Gets or sets content to be rendered inside the link. | - |
| Href | string |
Gets or sets a value representing the URL of the link. | - |
| Match | NavLinkMatch |
Gets or sets a value representing the URL matching behavior. | All |
| Color | ThemeColor |
Gets or sets a color of the link. | Primary |
| Underline | Underline |
Gets or sets the underline style for the link. | None |
| Disabled | bool |
Gets or sets a value indicating whether the link is disabled. | false |
| External | bool |
Gets or sets a value indicating whether the link should open in the new tab. | false |
| As | string |
Gets or sets an HTML tag of the component. | - |
| Class | string |
Gets or sets CSS class names that will be applied to the component. | - |
| Style | string |
Gets or sets styles that will be applied to the component. | - |
| AdditionalAttributes | IReadOnlyDictionary<string, object> |
Gets or sets a collection of additional attributes that will be applied to the component. | - |
| ElementReference | ElementReference? |
Gets or sets the associated . May be if accessed before the component is rendered. | - |