ArdoNavLink
On this page
Navigation link component supporting both internal routes and external URLs.
import { ArdoNavLink } from "ardo/ui"
<ArdoNavLink>{children}</ArdoNavLink>
Props
| Name | Type | Required | Description |
|---|---|---|---|
to | RoutePath | No | Internal page path such as /guide |
href | string | No | External URL (uses anchor tag) |
children | ReactNode | Yes | Link text or children |
className | string | No | Additional CSS classes |
activeMatch | string | No | Active state match pattern |
Props type: ArdoNavLinkProps
Example
// Internal link
<ArdoNavLink to="/guide">Guide</ArdoNavLink>
// External link
<ArdoNavLink href="https://github.com/...">GitHub</ArdoNavLink>