You can configure the navigation links displayed on every page with Links API.
It is available on Home Layout and Docs Layout.
A link to navigate to a URL/href, can be external.
The conditions to be marked as active.
Mode | Description |
---|
url | When browsing the specified url |
nested-url | When browsing the url and its child pages like /blog/post |
none | Never be active |
Set the item as secondary, secondary items will be displayed differently on navbar.
You can restrict where the item is displayed.
Same as link item, but is shown as an icon button on navbar.
Icon items are secondary by default.
Same as link item, but is shown as a button.
A navigation menu containing link items.
Note that the description
field will only be displayed on the navbar in Home Layout.
Specify the props for Radix UI Navigation Menu item in Home Layout.
Display a custom component.