Usage
The link component is used to navigate users to other pages or external resources.
Disabled
You can disable a link to prevent user interaction. A disabled link is faded and does not respond to user clicks.
Colors
Customize the appearance of the link by applying different colors that suit your application's theme and design.
Underline
You can control whether the link has an underline for emphasis or a cleaner look.
External
The link component can be configured for external URLs, ensuring it opens in a new tab and behaves accordingly.
Polymorphic
LumexUI components expose an As
parameter that allows you to
customize the HTML element tag used to render the component.
Active State
Just like Blazor native NavLink
component, this one also
enables an active CSS class based on whether its href
matches the current URL.
Please refer to the
official documentation
for further information.
Custom Styles
You can customize the link component by passing any Tailwind CSS
classes to the component's Class
and/or Style
parameters.
API
See the API references below for a complete guide to all the parameters available for the components mentioned here.