Recommended
01
Standard navigation link
Use for routes within the current application.
Live preview
<Link
label="Open components"
href="/base"
/>
Render an accessible internal or external link with target, relation, size, color, and public focus or click events.
Change any prop and inspect the server-rendered component immediately.
Compare configurations and resize the browser to check responsive behavior.
Use for routes within the current application.
<Link
label="Open components"
href="/base"
/>
Communicate external navigation and use safe target attributes.
<Link
size="sm"
label="WRNexusJS documentation"
href="https://wrnexusjs.dev"
target="_blank"
external="true"
/>
Use a larger link in empty states, promotional cards, and resource lists.
<Link
size="lg"
color="info"
label="Explore framework guides"
href="/framework-guides"
/>
All content and behavior shown above is supplied through these props and slots.
| Prop | Type | Default | Required |
|---|---|---|---|
size | string | "default" | No |
color | string | "primary" | No |
label | string | "Link" | No |
href | string | "#" | No |
target | string | "" | No |
rel | string | "" | No |
underline | string | "hover" | No |
external | boolean | false | No |
class | string | "" | No |