Nav Link¶
One link — to a portal page, an external address or an anchor.
Navigation widgets · widget type nav-link · binds through text templates in the URL
Related: Nav List · Breadcrumb · Button
Examples¶
A route built from a page parameter
/reports/{$params.reportId}/overviewOptions¶
| Option | Values | Default | Description |
|---|---|---|---|
| Target | A route, URL, anchor or template | Empty | Where the link goes — /sales, https://…, or #section |
| Label override | Any text | Page name | By default a link to a portal route shows that page's name |
| Link Style | Link · Button · Tab | Link | How the link is rendered |
| Icon | An icon key | None | Shown before the label |
| Open in | Same tab · New tab · Parent · Top | Same tab | The link's target attribute |
| Match | Equal · Prefix · Subroute · Ignore query | Ignore query | How the current URL is compared to decide whether this link is active |
| Box Style | Sizing and spacing | — | The box around the link |
Notes¶
- Pointing at a portal route resolves the page's name automatically, so the label stays correct when the page is renamed
- Match controls the active state: use Prefix or Subroute when a section of the portal should stay highlighted on its child pages